Keel 2.1RC2

org.apache.excalibur.mpool.test
Class SingleThreadedPoolComparisonProfile

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.excalibur.mpool.test.PoolComparisonProfileAbstract
              extended byorg.apache.excalibur.mpool.test.SingleThreadedPoolComparisonProfile
All Implemented Interfaces:
junit.framework.Test

public class SingleThreadedPoolComparisonProfile
extends PoolComparisonProfileAbstract

This is used to profile and compare various pool implementations given a single access thread.

Version:
$Id: SingleThreadedPoolComparisonProfile.java,v 1.4 2004/02/28 11:47:32 cziegeler Exp $
Author:

Nested Class Summary
 
Nested classes inherited from class org.apache.excalibur.mpool.test.PoolComparisonProfileAbstract
PoolComparisonProfileAbstract.LargePoolable, PoolComparisonProfileAbstract.MediumPoolable, PoolComparisonProfileAbstract.NoPoolingPool, PoolComparisonProfileAbstract.SmallPoolable
 
Field Summary
 
Fields inherited from class org.apache.excalibur.mpool.test.PoolComparisonProfileAbstract
m_logger, m_poolLogger, TEST_SIZE
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SingleThreadedPoolComparisonProfile(java.lang.String name)
           
 
Method Summary
protected  long getPoolRunTime(Pool pool, int gets)
           
protected  long getPoolRunTime(Pool pool, int gets)
           
 
Methods inherited from class org.apache.excalibur.mpool.test.PoolComparisonProfileAbstract
generalTest, generalTest, getShortClassName, resetMemory, testCompare_FixedSizePool_And_BlockingFixedSizePool_Max100_Gets100_LargePoolables, testCompare_FixedSizePool_And_BlockingFixedSizePool_Max100_Gets100_MediumPoolables, testCompare_FixedSizePool_And_BlockingFixedSizePool_Max100_Gets100_SmallPoolables, testCompare_FixedSizePool_And_ResourceLimitingPool_Max100_Gets100_LargePoolables, testCompare_FixedSizePool_And_ResourceLimitingPool_Max100_Gets100_SmallPoolables, testCompare_FixedSizePool_And_VariableSizePool_Max100_Gets100_LargePoolables, testCompare_FixedSizePool_And_VariableSizePool_Max100_Gets100_MediumPoolables, testCompare_FixedSizePool_And_VariableSizePool_Max100_Gets100_SmallPoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets100_LargePoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets100_MediumPoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets100_SmallPoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets200_LargePoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets200_MediumPoolables, testCompare_VariableSizePool_And_ResourceLimitingPool_Max100_Gets200_SmallPoolables
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleThreadedPoolComparisonProfile

public SingleThreadedPoolComparisonProfile(java.lang.String name)
Method Detail

getPoolRunTime

protected long getPoolRunTime(Pool pool,
                              int gets)
                       throws java.lang.Exception
Specified by:
getPoolRunTime in class PoolComparisonProfileAbstract
Throws:
java.lang.Exception

getPoolRunTime

protected long getPoolRunTime(Pool pool,
                              int gets)
                       throws java.lang.Exception
Specified by:
getPoolRunTime in class PoolComparisonProfileAbstract
Throws:
java.lang.Exception

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.