Class StandardActionDispenser
java.lang.Object
io.nosqlbench.engine.api.activityimpl.uniform.StandardActionDispenser
- All Implemented Interfaces:
ActionDispenser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStandardAction<?, ?> getAction(int slot) Resolve (find or create) an Action instance for the slot specified.
-
Constructor Details
-
StandardActionDispenser
-
-
Method Details
-
getAction
Description copied from interface:ActionDispenserResolve (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:
getActionin interfaceActionDispenser- Parameters:
slot- The numbered slot within the activity instance for this action.- Returns:
- A new or cached Action for the specified slot.
-