Class DiagOp

java.lang.Object
io.nosqlbench.adapter.diag.DiagOp
All Implemented Interfaces:
CycleOp<Integer>, LongFunction<Integer>

public class DiagOp extends Object implements CycleOp<Integer>
  • Constructor Details

  • Method Details

    • apply

      public Integer apply(long value)
      Description copied from interface: CycleOp

      Run an action for the given cycle.

      Specified by:
      apply in interface CycleOp<Integer>
      Specified by:
      apply in interface LongFunction<Integer>
      Parameters:
      value - The cycle value for which an operation is run