Class StandardActionDispenser

java.lang.Object
io.nosqlbench.engine.api.activityimpl.uniform.StandardActionDispenser
All Implemented Interfaces:
ActionDispenser

public class StandardActionDispenser extends Object implements ActionDispenser
  • Constructor Details

    • StandardActionDispenser

      public StandardActionDispenser(StandardActivity<?,?> activity)
  • Method Details

    • getAction

      public StandardAction<?,?> getAction(int slot)
      Description copied from interface: ActionDispenser
      Resolve (find or create) an Action instance for the slot specified. The action is not required to be per-slot (per-thread), but any shared actions must be thread safe.
      Specified by:
      getAction in interface ActionDispenser
      Parameters:
      slot - The numbered slot within the activity instance for this action.
      Returns:
      A new or cached Action for the specified slot.