Class CoreAction

java.lang.Object
io.nosqlbench.engine.api.activityimpl.action.CoreAction
All Implemented Interfaces:
Action, SyncAction

public class CoreAction extends Object implements SyncAction
  • Constructor Details

    • CoreAction

      public CoreAction(ActivityDef activityDef, int slot)
  • Method Details

    • runCycle

      public int runCycle(long cycle)
      Description copied from interface: SyncAction

      Apply a work function to an input value, producing an int status code.

      The meaning of status codes is activity specific, however the values Integer.MIN_VALUE, and Integer.MAX_VALUE are reserved.
      Specified by:
      runCycle in interface SyncAction
      Parameters:
      cycle - a long input
      Returns:
      an int status