|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.PerformanceTest3
stress test against different databases with serveral threads
Nested Class Summary | |
(package private) class |
PerformanceTest3.PerfomanceTestClientODMG
ODMG-api test class |
(package private) class |
PerformanceTest3.PerfomanceTestClientPB
PB-api test class |
(package private) class |
PerformanceTest3.TestClient
|
Field Summary | |
java.lang.ThreadGroup |
threadGroup
|
Constructor Summary | |
PerformanceTest3()
|
Method Summary | |
void |
addTime(int position,
long time)
|
int |
getArticleCount()
|
int |
getFarAwayCount()
|
static int |
getId()
generate client made ids |
void |
init()
Setting up the test fixture. |
protected void |
interruptThreads()
Interrupt the running threads. |
static void |
main(java.lang.String[] args)
|
protected void |
runTestClients(PerformanceTest3.TestClient[] runnables)
Run the threads. |
void |
testMultithreaded_ODMG_api()
|
void |
testMultithreaded_PB_api()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.ThreadGroup threadGroup
Constructor Detail |
public PerformanceTest3()
Method Detail |
public static void main(java.lang.String[] args)
protected void interruptThreads()
protected void runTestClients(PerformanceTest3.TestClient[] runnables)
public void addTime(int position, long time)
public void testMultithreaded_PB_api()
public void testMultithreaded_ODMG_api()
public static int getId()
public int getArticleCount()
public int getFarAwayCount()
public void init() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |