|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.performance.PerfTest
Derivate this class to implement a test instance for the performance test.
Constructor Summary | |
PerfTest()
|
Method Summary | |
void |
addTime(int position,
long time)
|
abstract int |
articleCount()
Returns the count of all found PerfArticle
in database. |
long |
getPerfTestId()
|
java.lang.ThreadGroup |
getThreadGroup()
|
abstract PerfHandle |
newPerfHandle(PerfTest test)
Returns a new instance of a PerfHandle implementation. |
void |
performTest()
|
void |
registerException(java.lang.String causer,
java.lang.Exception e)
|
void |
registerPerfMain(PerfMain aPerfMain)
|
abstract java.lang.String |
testName()
Returns the name of the test |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PerfTest()
Method Detail |
public abstract java.lang.String testName()
public abstract PerfHandle newPerfHandle(PerfTest test)
PerfHandle
implementation.
public abstract int articleCount()
PerfArticle
in database. Do not use the cache to get the count!
This method is not involved in the performance test
methods, thus it's not mandatory to use the api-methods
for implementation.
public void performTest()
public void registerException(java.lang.String causer, java.lang.Exception e)
public void addTime(int position, long time)
public void registerPerfMain(PerfMain aPerfMain)
public java.lang.ThreadGroup getThreadGroup()
public long getPerfTestId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |