org.jboss.portal.test.cms.stress
Class Client
java.lang.Object
org.jboss.portal.test.cms.stress.Client
- All Implemented Interfaces:
- java.lang.Runnable
public class Client
- extends java.lang.Object
- implements java.lang.Runnable
Constructor Summary |
Client(int id,
int loops,
Command[] scenario,
long waitTimeBetweenScenariosMillis,
NodeFactory factory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
loops
protected int loops
scenario
protected Command[] scenario
results
protected java.util.List results
waitTimeBetweenScenariosMillis
protected long waitTimeBetweenScenariosMillis
factory
protected NodeFactory factory
log
protected org.apache.log4j.Logger log
Client
public Client(int id,
int loops,
Command[] scenario,
long waitTimeBetweenScenariosMillis,
NodeFactory factory)
getResults
public java.util.List getResults()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
play
protected void play()