|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--juju.reattore.loadtest.controller.impl.BaseController
Base implementation of a controller.
Constructor Summary | |
BaseController(Chooser chooser,
ClientSocketReactor reactor)
Create a new controller. |
Method Summary | |
void |
go(double perSec,
double runTime)
Run the test. |
void |
go(int num,
double interval)
Run the test for the given number of times. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseController(Chooser chooser, ClientSocketReactor reactor)
chooser
- The chooser to pull URLs fromreactor
- The reactor to attach test clients to.Method Detail |
public void go(double perSec, double runTime)
Controller
go
in interface Controller
perSec
- The spawn rate.runTime
- The total time to run for.Controller
public void go(int num, double interval)
Controller
go
in interface Controller
num
- Number of times to run.interval
- Time in seconds between runs.Controller
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |