|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to support running a Simulation
remotely.
The methods specified here will be the ones that can be accessed
remotely.
Method Summary | |
java.lang.String |
fetchResults()
|
java.lang.String |
getHostname()
Get the hostname of the machine that this simulation is runing on. |
int |
getNumRunning()
|
java.lang.String |
getResultsFileName()
|
int |
getTotalVirtualUsers()
|
boolean |
isRunning()
|
void |
startSimulation()
Start the simulation. |
void |
stopSimulation()
Stop the simulation. |
Method Detail |
public void startSimulation()
VirtualUser
s are running in their own
threads this method exits.
If you want to stop the simulation call the
method.stopSimulation
public void stopSimulation()
VirtualUser
and set their alive
attribute to false
. The next
iteration will cause the simulation to stop because all of the virutal users
are dead.public java.lang.String getHostname()
public int getNumRunning()
public int getTotalVirtualUsers()
public boolean isRunning()
public java.lang.String getResultsFileName()
public java.lang.String fetchResults() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |