To provide a custom eviction policy (i.e. something other than {@link DefaultEvictionPolicy} for a pool, users must provide an implementation of this interface that provides the required eviction policy.
@param <T> the type of objects in the pool
This method is called to test if an idle object in the pool should be evicted or not.
See Implementation
To provide a custom eviction policy (i.e. something other than {@link DefaultEvictionPolicy} for a pool, users must provide an implementation of this interface that provides the required eviction policy.
@param <T> the type of objects in the pool