Class PeriodicRunnable<T extends Runnable>
java.lang.Object
io.nosqlbench.nb.api.engine.metrics.PeriodicRunnable<T>
- All Implemented Interfaces:
AutoCloseable,Runnable
This is a simple and light way to run a periodic task
-
Constructor Details
-
PeriodicRunnable
-
-
Method Details
-
startDaemonThread
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
startMainThread
-
getThread
-
run
-