java.lang.Object
org.apache.jena.atlas.lib.ProgressMonitor
Deprecated.
Progress monitor - output lines to show the progress of some long running operation.
This is based on "ticks", not time.
Once per item processed, call the
tick() operation.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProgressMonitor(String label, long tickPoint, int superTick, ProgressMonitor.Output output) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressMonitorDeprecated.ProgressMonitor that outputs to aLoggerlongfinish()Deprecated.voidDeprecated.longgetTicks()Deprecated.voidstart()Deprecated.voidDeprecated.Print a start message using the labelvoidstartMessage(String msg) Deprecated.Print a start message using a different string.voidtick()Deprecated.
-
Constructor Details
-
ProgressMonitor
Deprecated.- Parameters:
label- Label added to output strings. Usually related to the kind of things being monitored. e.g "tuplestickPoint- Frequent of output messagessuperTick- Frequent of "Elapsed" additional messageoutput- Function called to deal with progress messages.
-
-
Method Details
-
create
public static ProgressMonitor create(org.slf4j.Logger log, String label, long tickPoint, int superTick) Deprecated.ProgressMonitor that outputs to aLogger -
startMessage
public void startMessage()Deprecated.Print a start message using the label -
startMessage
Deprecated.Print a start message using a different string. -
finishMessage
public void finishMessage()Deprecated. -
start
public void start()Deprecated. -
finish
public long finish()Deprecated. -
getTicks
public long getTicks()Deprecated. -
tick
public void tick()Deprecated.
-
org.apache.system.progress.ProgressMonitor.