public final class WorkerContainer extends Object
Constructor and Description |
---|
WorkerContainer() |
Modifier and Type | Method and Description |
---|---|
List<MaestroWorker> |
create(WorkerInitializer initializer,
int count) |
void |
fail(String message) |
List<WatchdogObserver> |
getObservers() |
boolean |
isTestInProgress()
Checks whether the test is in progress or not
|
LatencyStats |
latencyStats(Evaluator<?> evaluator)
Gets the latency statistics
|
void |
start(Evaluator<?> evaluator)
Start the execution of the workers for a predefined class
|
void |
stop() |
ThroughputStats |
throughputStats()
Gets the throughput statistics
|
boolean |
waitForComplete(long timeout) |
public List<MaestroWorker> create(WorkerInitializer initializer, int count) throws IllegalAccessException, InstantiationException
public void start(Evaluator<?> evaluator)
evaluator
- The evaluator that is run along w/ the worker watchdog (ie.: to evaluate the FCL/latency)public void stop()
public void fail(String message)
public boolean isTestInProgress()
public ThroughputStats throughputStats()
public LatencyStats latencyStats(Evaluator<?> evaluator)
public List<WatchdogObserver> getObservers()
public boolean waitForComplete(long timeout)
This documentation was released into the public domain.