Class CoreActionDispenser

java.lang.Object
io.nosqlbench.engine.api.activityimpl.action.CoreActionDispenser
All Implemented Interfaces:
ActionDispenser

public class CoreActionDispenser extends Object implements ActionDispenser
An action dispenser that returns a logging action.
  • Constructor Details

    • CoreActionDispenser

      public CoreActionDispenser(Activity activity)
  • Method Details

    • getAction

      public Action 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.