Package org.apache.commons.pool2.impl
package org.apache.commons.pool2.impl
Object pooling API implementations.
GenericObjectPool
(GenericKeyedObjectPool
) provides a more robust (but also more complicated) implementation of ObjectPool
(KeyedObjectPool
).
SoftReferenceObjectPool
provides a SoftReference
based
ObjectPool
.
See also the org.apache.commons.pool2
package.
-
ClassDescriptionConfiguration settings for abandoned object removal.Base class that provides common functionality for
GenericObjectPool
andGenericKeyedObjectPool
.Provides the implementation for the common attributes shared by the sub-classes.Strategy for obtaining and printing the current call stack.Utility methods forCallStack
.Provides the default implementation ofEvictionPolicy
used by the pools.This wrapper is used to track the additional information, such as state, for the pooled objects.Implementation of object that is used to provide information on pooled objects via JMX.The interface that defines the information about pooled objects that will be exposed via JMX.This class is used by pool implementations to pass configuration information toEvictionPolicy
instances.To provide a custom eviction policy (i.e.A configurableKeyedObjectPool
implementation.A simple structure encapsulating the configuration for aGenericKeyedObjectPool
.Defines the methods that will be made available via JMX.A configurableObjectPool
implementation.A simple structure encapsulating the configuration for aGenericObjectPool
.Defines the methods that will be made available via JMX.CallStack strategy using no-op implementations of all functionality.Extension ofDefaultPooledObject
to wrap pooled soft references.ACallStack
strategy using aSecurityManager
.ASoftReference
basedObjectPool
.CallStack strategy that uses the stack trace from aThrowable
.