Class FilteringInputDispenser
java.lang.Object
io.nosqlbench.engine.api.activityimpl.FilteringInputDispenser
- All Implemented Interfaces:
InputDispenser
-
Constructor Summary
ConstructorsConstructorDescriptionFilteringInputDispenser(InputDispenser dispenser, Predicate<ResultReadable> resultValuePredicate) -
Method Summary
-
Constructor Details
-
FilteringInputDispenser
public FilteringInputDispenser(InputDispenser dispenser, Predicate<ResultReadable> resultValuePredicate)
-
-
Method Details
-
getInput
Description copied from interface:InputDispenserResolve (find or create) an Input instance for the slot specified. The input is not required to be per-slot (per-thread), but any shared inputs must be thread safe.- Specified by:
getInputin interfaceInputDispenser- Parameters:
slot- The numbered slot within the activity instance for this action.- Returns:
- A new or cached Input for the specified slot.
-