public class Scenario extends Object
Constructor and Description |
---|
Scenario() |
Modifier and Type | Method and Description |
---|---|
boolean |
areAllThreadsTerminated()
Checks if all threads used for message generating were terminated successfully.
|
void |
close()
Finalizes the scenario.
|
void |
init()
Initializes the scenario execution.
|
void |
run()
Executes the scenario.
|
void |
stop()
Stops the scenario execution.
|
public void init() throws PerfCakeException
PerfCakeException
- When it was not possible to fully initialize the scenario.public void run() throws PerfCakeException
PerfCakeException
- When it was not possible to execute the scenario.public void stop()
public void close() throws PerfCakeException
PerfCakeException
- When it was not possible to perform all finalization operations.public boolean areAllThreadsTerminated()
Copyright © 2010–2017 PerfCake Community. All rights reserved.