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
GenericObjectPoolandGenericKeyedObjectPool.Wrapper for objects under management by the pool.Maintains a cache of values for a single metric and reports statistics on the cached values.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 ofEvictionPolicyused 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 toEvictionPolicyinstances.To provide a custom eviction policy (i.e.Provides a shared idle object eviction timer for all pools.Thread factory that creates a daemon thread, with the context class loader from this class.Task that removes references to abandoned tasks and shuts down the executor if there are no live tasks left.EvictionTimer.WeakRunner<R extends Runnable>Runnable that runs the referent of a weak reference.A configurableKeyedObjectPoolimplementation.Maintains information on the per key queue for a given key.A simple structure encapsulating the configuration for aGenericKeyedObjectPool.Defines the methods that will be made available via JMX.A configurableObjectPoolimplementation.A simple structure encapsulating the configuration for aGenericObjectPool.Defines the methods that will be made available via JMX.This sub-class was created to expose the waiting threads so that they can be interrupted when the pool using the queue that uses this lock is closed.An optionally-bounded blocking deque based on linked nodes.Doubly-linked list node class.CallStack strategy using no-op implementations of all functionality.Extension ofDefaultPooledObjectto wrap pooled soft references.Implementation specific utilities.ACallStackstrategy using aSecurityManager.A custom security manager.A snapshot of a class stack.ASoftReferencebasedObjectPool.CallStack strategy that uses the stack trace from aThrowable.A snapshot of a throwable.