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

    Modifier and Type Method Description
    T apply​(long value)
    Run an action for the given cycle.
  • Method Details

    • apply

      T apply​(long value)

      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:
      apply in interface java.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.