Class BaseObjectPool<T>

java.lang.Object
org.apache.tomcat.dbcp.pool2.BaseObject
org.apache.tomcat.dbcp.pool2.BaseObjectPool<T>
Type Parameters:
T - Type of element pooled in this pool.
All Implemented Interfaces:
Closeable, AutoCloseable, ObjectPool<T>
Direct Known Subclasses:
SoftReferenceObjectPool

public abstract class BaseObjectPool<T> extends BaseObject implements ObjectPool<T>
A simple base implementation of ObjectPool. Optional operations are implemented to either do nothing, return a value indicating it is unsupported or throw UnsupportedOperationException.

This class is intended to be thread-safe.

Since:
2.0