|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
org.starhope.vergil.test.LoadClient
public class LoadClient
Load-testing client
Field Summary | |
---|---|
(package private) Random |
random
WRITEME |
(package private) SmartFauxClient |
sfs
WRITEME |
(package private) boolean |
talk
WRITEME |
(package private) String |
userName
WRITEME |
private int |
userNumber
WRITEME |
Constructor Summary | |
---|---|
LoadClient(int num)
|
Method Summary | |
---|---|
void |
handleEvent(SmartFauxEvent event)
WRITEME: Document this method brpocock@star-hope.org |
static void |
main(String[] args)
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009) |
void |
run()
This is an overriding method. |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Random random
SmartFauxClient sfs
boolean talk
String userName
private final int userNumber
Constructor Detail |
---|
public LoadClient(int num) throws UnknownHostException
num
- WRITEME
UnknownHostException
- if we can't reach Whitney-DevMethod Detail |
---|
public static void main(String[] args)
args
- WRITEMEpublic void handleEvent(SmartFauxEvent event)
SmartFauxEventListener
handleEvent
in interface SmartFauxEventListener
event
- WRITEMEpublic void run()
run
in interface Runnable
run
in class TimerTask
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |