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.
PrivilegedAction
used to get the ContextClassLoaderPrivilegedAction
used to set the ContextClassLoaderA configurableKeyedObjectPool
implementation.A simple "struct" encapsulating the configuration information for aGenericKeyedObjectPool
.A simple "struct" encapsulating an object instance and a timestamp.A factory for creatingGenericKeyedObjectPool
instances.A configurableObjectPool
implementation.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 creatingGenericObjectPool
instances.ASoftReference
basedObjectPool
.StackKeyedObjectPool<K,V> A simple,Stack
-basedKeyedObjectPool
implementation.A factory for creatingStackKeyedObjectPool
instances.A simple,Stack
-basedObjectPool
implementation.A factory for creatingStackObjectPool
instances.