Class CoreActionDispenser

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

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

    Constructors 
    Constructor Description
    CoreActionDispenser​(Activity activity)  
  • Method Summary

    Modifier and Type Method Description
    Action getAction​(int slot)
    Resolve (find or create) an Action instance for the slot specified.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.