Package org.apache.tomcat.dbcp.pool2.impl
package org.apache.tomcat.dbcp.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.tomcat.dbcp.pool2 package.
-
ClassDescriptionConfiguration settings for abandoned object removal.Base class that provides common functionality for
GenericObjectPoolandGenericKeyedObjectPool.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. something other thanDefaultEvictionPolicyfor a pool, users must provide an implementation of this interface that provides the required eviction policy.A configurableKeyedObjectPoolimplementation.A simple "struct" encapsulating the configuration for aGenericKeyedObjectPool.Defines the methods that will be made available via JMX.A configurableObjectPoolimplementation.A simple "struct" 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 ofDefaultPooledObjectto wrap pooled soft references.CallStack strategy using aSecurityManager.ASoftReferencebasedObjectPool.CallStack strategy that uses the stack trace from aThrowable.