| org.apache.commons.pool.impl | Object pooling API implementations. |
| org.apache.commons.pool.performance |
| KeyedObjectPool | A "keyed" pooling interface. | code | html |
| KeyedObjectPoolFactory | A factory for creating KeyedObjectPool s. | code | html |
| KeyedPoolableObjectFactory | An interface defining life-cycle methods for instances to be served by a KeyedObjectPool . | code | html |
| ObjectPool | A pooling interface. | code | html |
| ObjectPoolFactory | A factory interface for creating ObjectPool s. | code | html |
| PoolableObjectFactory | An interface defining life-cycle methods for instances to be served by an ObjectPool . | code | html |
| BaseKeyedObjectPool | A simple base implementation of KeyedObjectPool. |
code | html |
| BaseKeyedPoolableObjectFactory | A base implementation of KeyedPoolableObjectFactory. |
code | html |
| BaseObjectPool | A simple base implementation of ObjectPool . | code | html |
| BasePoolableObjectFactory | A base implementation of PoolableObjectFactory. |
code | html |
| TestKeyedObjectPool | Abstract TestCase for ObjectPool implementations. | code | html |
| TestObjectPool | Abstract TestCase for ObjectPool implementations. | code | html |
| PoolUtils | This class consists exclusively of static methods that operate on or return ObjectPool or KeyedObjectPool related interfaces. | code | html |
| PoolUtils.CheckedKeyedObjectPool | code | html | |
| PoolUtils.CheckedObjectPool | code | html | |
| PoolUtils.ErodingFactor | Encapsulate the logic for when the next poolable object should be discarded. | code | html |
| PoolUtils.ErodingKeyedObjectPool | code | html | |
| PoolUtils.ErodingObjectPool | code | html | |
| PoolUtils.ErodingPerKeyKeyedObjectPool | code | html | |
| PoolUtils.KeyedObjectPoolAdaptor | code | html | |
| PoolUtils.KeyedObjectPoolMinIdleTimerTask | code | html | |
| PoolUtils.KeyedPoolableObjectFactoryAdaptor | code | html | |
| PoolUtils.ObjectPoolAdaptor | code | html | |
| PoolUtils.ObjectPoolMinIdleTimerTask | code | html | |
| PoolUtils.PoolableObjectFactoryAdaptor | code | html | |
| PoolUtils.SynchronizedKeyedObjectPool | code | html | |
| PoolUtils.SynchronizedKeyedPoolableObjectFactory | code | html | |
| PoolUtils.SynchronizedObjectPool | code | html | |
| PoolUtils.SynchronizedPoolableObjectFactory | code | html |
| TestKeyedObjectPool | Abstract TestCase for ObjectPool implementations. | code | html |
| TestObjectPool | Abstract TestCase for ObjectPool implementations. | code | html |
| TestAll | code | html | |
| TestBaseKeyedObjectPool | code | html | |
| TestBaseKeyedPoolableObjectFactory | code | html | |
| TestBaseObjectPool | code | html | |
| TestBasePoolableObjectFactory | code | html |
Object pooling API.
The org.apache.commons.pool package defines a simple
interface for a pool of object instances, and a handful of base
classes that may be useful when creating pool implementations.
The pool package itself doesn't define a specific object
pooling implementation, but rather a contract that implementations may
support in order to be fully interchangeable.
The pool package separates the way in which instances are
pooled from the way in which they are created, resulting in a pair of
interfaces:
ObjectPoolFactory
defines a simple factory for ObjectPools, which may be
useful for some applications.
The pool package also provides a keyed pool interface,
which pools instances of multiple types, accessed according to an
arbitrary key. See
KeyedObjectPool ,
KeyedPoolableObjectFactory ,
and
KeyedObjectPoolFactory .