Interface CycleOp<T>
- All Superinterfaces:
java.util.function.LongFunction<T>,Op
public interface CycleOp<T> extends Op, java.util.function.LongFunction<T>
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
-
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 interfacejava.util.function.LongFunction<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.
-