Class StandardActionDispenser

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

public class StandardActionDispenser
extends java.lang.Object
implements ActionDispenser
  • Constructor Summary

    Constructors 
    Constructor Description
    StandardActionDispenser​(StandardActivity<?,​?> activity)  
  • Method Summary

    Modifier and Type Method Description
    StandardAction<?,​?> 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 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.