Class CoreAction
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 intrunCycle(long cycle)Apply a work function to an input value, producing an int status code.
-
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:SyncActionApply 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:
runCyclein interfaceSyncAction- Parameters:
cycle- a long input- Returns:
- an int status
-