|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.PerformanceTest2
stress test against one database using several threads
Nested Class Summary | |
(package private) class |
PerformanceTest2.PerfomanceTestClientODMG
ODMG-api test class |
(package private) class |
PerformanceTest2.PerfomanceTestClientOTM
OTM-api test class |
(package private) class |
PerformanceTest2.PerfomanceTestClientPB
PB-api test class |
(package private) class |
PerformanceTest2.TestClient
|
Constructor Summary | |
PerformanceTest2()
|
Method Summary | |
void |
addTime(int position,
long time)
|
int |
getArticleCount()
|
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(PerformanceTest2.TestClient[] runnables)
Run the threads. |
void |
testMultithreaded_ODMG_api()
|
void |
testMultithreaded_OTM_api()
|
void |
testMultithreaded_PB_api()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PerformanceTest2()
Method Detail |
protected void interruptThreads()
protected void runTestClients(PerformanceTest2.TestClient[] runnables)
public static int getId()
public int getArticleCount()
public void addTime(int position, long time)
public void init() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
public void testMultithreaded_PB_api()
public void testMultithreaded_ODMG_api()
public void testMultithreaded_OTM_api()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |