GenericObjectPool (GenericKeyedObjectPool) provides a more robust (but also more complicated) implementation of ObjectPool
(KeyedObjectPool).
SoftReferenceObjectPool provides a SoftReference based
ObjectPool.
See also the org. package.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | CallStack
Strategy for obtaining and printing the current call stack. |
| public interface | DefaultPooledObjectInfoMBean
The interface that defines the information about pooled objects that will be exposed via JMX. |
| public interface | EvictionPolicy<
the type of objects in the pool T>To provide a custom eviction policy (i.e. something other than |
| public interface | GenericKeyedObjectPoolMXBean<
The type of keys maintained by the pool. K>Defines the methods that will be made available via JMX. |
| public interface | GenericObjectPoolMXBean
Defines the methods that will be made available via JMX. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AbandonedConfig
Configuration settings for abandoned object removal. |
| public abstract class | BaseGenericObjectPool<
Type of element pooled in this pool. T>Base class that provides common functionality for |
| public abstract class | BaseObjectPoolConfig<
Type of element pooled. T>Provides the implementation for the common attributes shared by the sub-classes. |
| public class | CallStackUtils
Utility methods for |
| public class | DefaultEvictionPolicy<
the type of objects in the pool. T>Provides the default implementation of |
| public class | DefaultPooledObject<
the type of object in the pool T>This wrapper is used to track the additional information, such as state, for the pooled objects. |
| public class | DefaultPooledObjectInfo
Implementation of object that is used to provide information on pooled objects via JMX. |
| public class | EvictionConfig
This class is used by pool implementations to pass configuration information
to |
| pack-priv class | EvictionTimer
Provides a shared idle object eviction timer for all pools. |
| public class | GenericKeyedObjectPool<
The type of keys maintained by this pool. K, Type of element pooled in this pool. T>A configurable |
| public class | GenericKeyedObjectPoolConfig<
Type of element pooled. T>A simple structure encapsulating the configuration for a
|
| public class | |
| public class | GenericObjectPoolConfig<
Type of element pooled. T>A simple structure encapsulating the configuration for a
|
| pack-priv class | InterruptibleReentrantLock
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. |
| pack-priv class | LinkedBlockingDeque<
the type of elements held in this collection
Note: This was copied from Apache Harmony and modified to suit the needs of
Commons Pool. E>An optionally-bounded blocking deque based on linked nodes. |
| public class | NoOpCallStack
CallStack strategy using no-op implementations of all functionality. |
| public class | PooledSoftReference<
the type of the underlying object that the wrapped SoftReference
refers to. T>Extension of |
| pack-priv class | PoolImplUtils
Implementation specific utilities. |
| public class | SecurityManagerCallStack
A |
| public class | |
| public class | ThrowableCallStack
CallStack strategy that uses the stack trace from a |