Package org.acemq.workloads.scenario
Class ScenarioHandle
java.lang.Object
org.acemq.workloads.scenario.ScenarioHandle
A scenario in progress.
-
Method Details
-
scenario
-
stop
public void stop()Ends the run early and reports on what it measured.Not an abort: producers stop, consumers finish what is in flight, and the report covers however long the measured window actually lasted. It is marked as stopped early, so nobody reads a twenty-second window as if it were the two minutes that were asked for.
-
isStopping
public boolean isStopping() -
isRunning
public boolean isRunning() -
report
- Returns:
- the report, or an exceptional completion if the run could not be made
-
toString
-