-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DistributedWorkload
public DistributedWorkload(String workloadName,
Consumer<T> action,
Predicate<T> escapeCondition,
int distributionSize,
boolean runAsync)
-
Method Details
-
addValue
public void addValue(Supplier<T> valueSupplier)
-
run
public void run()
- Specified by:
run in interface Runnable
-
runAll
public void runAll()
-
getAllSuppliers
public List<T> getAllSuppliers()