Interface CycleOp<T>
- All Superinterfaces:
LongFunction<T>,Op,OpResultSize
- All Known Implementing Classes:
StandardCycleOp
A CycleRunnable is simply a variation of a Runnable type.
The main difference is that it is supplied with the cycle
as input.
-
Method Summary
Methods inherited from interface io.nosqlbench.engine.api.activityimpl.uniform.flowtypes.OpResultSize
getResultSize
-
Method Details
-
apply
Run an action for the given cycle. The cycle value is only to be used for anecdotal presentation. This form is called when there is a chaining operation which will do something with this result.
- Specified by:
applyin interfaceLongFunction<T>- Parameters:
value- The cycle value for which an operation is run- Returns:
- A result which is the native result type for the underlying driver.
-