Package org.apache.commons.pool.impl
Object pooling API implementations.
StackObjectPool
(StackKeyedObjectPool)
provides a simple, Stack-based
implementation of ObjectPool
(KeyedObjectPool).
StackObjectPoolFactory
(StackKeyedObjectPoolFactory)
provides an implementation of the
ObjectPoolFactory
(KeyedObjectPoolFactory)
factory interface for this class.
GenericObjectPool
(GenericKeyedObjectPool)
provides a more robust (but also more complicated)
implementation of ObjectPool
(KeyedObjectPool).
GenericObjectPoolFactory
(GenericKeyedObjectPoolFactory)
provides an implementation of the
ObjectPoolFactory
(KeyedObjectPoolFactory)
factory interface for this class.
See also the org.apache.commons.pool package.
-
ClassesClassDescriptionThis class has been copied from Commons Collections, version 3.1 in order to eliminate the dependency of pool on collections.Provides a shared idle object eviction timer for all pools.
PrivilegedActionused to get the ContextClassLoaderPrivilegedActionused to set the ContextClassLoaderA configurableKeyedObjectPoolimplementation.A simple "struct" encapsulating the configuration information for aGenericKeyedObjectPool.A simple "struct" encapsulating an object instance and a timestamp.A factory for creatingGenericKeyedObjectPoolinstances.A configurableObjectPoolimplementation.A simple "struct" encapsulating the configuration information for aGenericObjectPool.Latch used to control allocation order of objects to threads to ensure fairness.A factory for creatingGenericObjectPoolinstances.ASoftReferencebasedObjectPool.StackKeyedObjectPool<K,V> A simple,Stack-basedKeyedObjectPoolimplementation.A factory for creatingStackKeyedObjectPoolinstances.A simple,Stack-basedObjectPoolimplementation.A factory for creatingStackObjectPoolinstances.