Class BaseGenericObjectPool<T>

java.lang.Object
org.apache.tomcat.dbcp.pool2.BaseObject
org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool<T>
Type Parameters:
T - Type of element pooled in this pool.
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
GenericKeyedObjectPool, GenericObjectPool

public abstract class BaseGenericObjectPool<T> extends BaseObject implements AutoCloseable
Base class that provides common functionality for GenericObjectPool and GenericKeyedObjectPool. The primary reason this class exists is reduce code duplication between the two pool implementations.

Concrete implementations of this class are expected to be thread-safe.

Since:
2.0