|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jbenchmark.TestFeature
net.sf.jbenchmark.Test
net.sf.jbenchmark.TestGroup
net.sf.jbenchmark.TestThreadGroup
A test that runs a test in several threads.
| Constructor Summary | |
TestThreadGroup()
|
|
| Method Summary | |
protected TestResult |
doRun()
Executes the test. |
int |
getThreadCount()
The thread group test creates a fixed number of threads per containing thread. |
void |
setRampup(int rampUp)
Sets the ramp up time in seconds. |
void |
setThreads(int numThreads)
Sets the number of threads. |
| Methods inherited from class net.sf.jbenchmark.TestGroup |
addListener, addTest, getAttribute, getExternalResource, getFeatureContext, getListener, getTests, setAttribute, setContext, testFailed, testFinished, testStart |
| Methods inherited from class net.sf.jbenchmark.Test |
addAssertion, addFeature, addResource, doCleanup, doInitialise, finish, getResource, run |
| Methods inherited from class net.sf.jbenchmark.TestFeature |
getContext, getName, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.jbenchmark.TestContext |
getResource |
| Constructor Detail |
public TestThreadGroup()
| Method Detail |
public void setThreads(int numThreads)
public int getThreadCount()
getThreadCount in interface TestContextgetThreadCount in class TestGrouppublic void setRampup(int rampUp)
protected TestResult doRun()
throws java.lang.Exception
doRun in class TestGroupjava.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||