Class DefaultEvictionPolicy<T>

java.lang.Object
org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy<T>
Type Parameters:
T - the type of objects in the pool.
All Implemented Interfaces:
EvictionPolicy<T>

public class DefaultEvictionPolicy<T> extends Object implements EvictionPolicy<T>
Provides the default implementation of EvictionPolicy used by the pools.

Objects will be evicted if the following conditions are met:

This class is immutable and thread-safe.

Since:
2.0