org.apache.ojb.broker
Class OJBPerfTest.OTMPerfTest

java.lang.Object
  extended byorg.apache.ojb.performance.PerfTest
      extended byorg.apache.ojb.broker.OJBPerfTest.OTMPerfTest
Enclosing class:
OJBPerfTest

public static class OJBPerfTest.OTMPerfTest
extends PerfTest


Constructor Summary
OJBPerfTest.OTMPerfTest()
           
 
Method Summary
 int articleCount()
          Returns the count of all found PerfArticle in database.
 PerfHandle newPerfHandle(PerfTest test)
          Returns a new instance of a PerfHandle implementation.
 java.lang.String testName()
          Returns the name of the test
 
Methods inherited from class org.apache.ojb.performance.PerfTest
addTime, getPerfTestId, getThreadGroup, interruptThreads, performTest, registerException, registerPerfMain, runTestHandles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OJBPerfTest.OTMPerfTest

public OJBPerfTest.OTMPerfTest()
Method Detail

testName

public java.lang.String testName()
Description copied from class: PerfTest
Returns the name of the test

Specified by:
testName in class PerfTest

newPerfHandle

public PerfHandle newPerfHandle(PerfTest test)
Description copied from class: PerfTest
Returns a new instance of a PerfHandle implementation.

Specified by:
newPerfHandle in class PerfTest

articleCount

public int articleCount()
Description copied from class: PerfTest
Returns the count of all found 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.

Specified by:
articleCount in class PerfTest


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14