Package org.apache.tomcat.dbcp.pool2
package org.apache.tomcat.dbcp.pool2
-
ClassDescriptionA base class for common functionality.A simple base implementation of
ObjectPool
.Destroy context provided to object factories viadestroyObject
andinvalidateObject
methods.KeyedObjectPool<K,V> A "keyed" pooling interface.An interface defining life-cycle methods for instances to be served by aKeyedObjectPool
.ObjectPool<T>A pooling simple interface.PooledObject<T>Defines the wrapper that is used to track the additional information, such as state, for the pooled objects.An interface defining life-cycle methods for instances to be served by anObjectPool
.Provides all possible states of aPooledObject
.This class consists exclusively of static methods that operate on or return ObjectPool or KeyedObjectPool related interfaces.Pools that unavoidably swallow exceptions may be configured with an instance of this listener so the user may receive notification of when this happens.Allows pooled objects to make information available about when and how they were used available to the object pool.This interface may be implemented by an object pool to enable clients (primarily those clients that wrap pools to provide pools with extended features) to provide additional information to the pool relating to object using allowing more informed decisions and reporting to be made regarding abandoned objects.