|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.avalon.excalibur.pool.test.PoolComparisonProfileAbstract
org.apache.avalon.excalibur.pool.test.SingleThreadedPoolComparisonProfile
This is used to profile and compare various pool implementations given a single access thread.
| Nested Class Summary |
| Nested classes inherited from class org.apache.avalon.excalibur.pool.test.PoolComparisonProfileAbstract |
PoolComparisonProfileAbstract.LargePoolable, PoolComparisonProfileAbstract.MediumPoolable, PoolComparisonProfileAbstract.NoPoolingPool, PoolComparisonProfileAbstract.SmallPoolable |
| Field Summary |
| Fields inherited from class org.apache.avalon.excalibur.pool.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) |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_LargePoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_MediumPoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_SmallPoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_LargePoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_MediumPoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
void |
testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_SmallPoolables()Compare the SingleThreadedPool and ResourceLimitingPool when the ResourceLimitingPool is configured to act like a SingleThreadedPool. |
| 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 |
public SingleThreadedPoolComparisonProfile(java.lang.String name)
| Method Detail |
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_SmallPoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 10 at a time, Poolables are small objects.
java.lang.Exception
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_SmallPoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 20 at a time, Poolables are small objects.
java.lang.Exception
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_MediumPoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 10 at a time, Poolables are medium objects.
java.lang.Exception
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_MediumPoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 20 at a time, Poolables are medium objects.
java.lang.Exception
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets10_LargePoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 10 at a time, Poolables are large objects.
java.lang.Exception
public void testCompare_SingleThreadedPool_And_ResourceLimitingPool_Max10_Gets20_LargePoolables()
throws java.lang.Exception
Test will use pools with a max size of 10, while getting up to 20 at a time, Poolables are large objects.
java.lang.Exception
protected long getPoolRunTime(Pool pool,
int gets)
throws java.lang.Exception
getPoolRunTime in class PoolComparisonProfileAbstractjava.lang.Exception
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||