java.lang.Object
org.apache.jena.atlas.lib.ProgressMonitor
Deprecated, for removal: This API element is subject to removal in a future version.
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 ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionProgressMonitor(String label, long tickPoint, int superTick, ProgressMonitor.Output output) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressMonitorDeprecated, for removal: This API element is subject to removal in a future version.ProgressMonitor that outputs to aLoggerlongfinish()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.longgetTicks()Deprecated, for removal: This API element is subject to removal in a future version.voidstart()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Print a start message using the labelvoidstartMessage(String msg) Deprecated, for removal: This API element is subject to removal in a future version.Print a start message using a different string.voidtick()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ProgressMonitor
Deprecated, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.ProgressMonitor that outputs to aLogger -
startMessage
public void startMessage()Deprecated, for removal: This API element is subject to removal in a future version.Print a start message using the label -
startMessage
Deprecated, for removal: This API element is subject to removal in a future version.Print a start message using a different string. -
finishMessage
public void finishMessage()Deprecated, for removal: This API element is subject to removal in a future version. -
start
public void start()Deprecated, for removal: This API element is subject to removal in a future version. -
finish
public long finish()Deprecated, for removal: This API element is subject to removal in a future version. -
getTicks
public long getTicks()Deprecated, for removal: This API element is subject to removal in a future version. -
tick
public void tick()Deprecated, for removal: This API element is subject to removal in a future version.
-
org.apache.system.progress.ProgressMonitor.