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

public class CoreAction
extends java.lang.Object
implements SyncAction
  • Constructor Summary

    Constructors 
    Constructor Description
    CoreAction​(io.nosqlbench.engine.api.activityimpl.ActivityDef activityDef, int slot)  
  • Method Summary

    Modifier and Type Method Description
    int runCycle​(long cycle)
    Apply a work function to an input value, producing an int status code.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.nosqlbench.engine.api.activityapi.core.Action

    init
  • Constructor Details

    • CoreAction

      public CoreAction​(io.nosqlbench.engine.api.activityimpl.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