Uses of Interface
org.apache.commons.pool2.impl.EvictionPolicy
Packages that use EvictionPolicy
-
Uses of EvictionPolicy in org.apache.commons.pool2.impl
Classes in org.apache.commons.pool2.impl that implement EvictionPolicyModifier and TypeClassDescriptionclass
Provides the default implementation ofEvictionPolicy
used by the pools.Methods in org.apache.commons.pool2.impl that return EvictionPolicyModifier and TypeMethodDescriptionBaseGenericObjectPool.getEvictionPolicy()
Gets theEvictionPolicy
defined for this pool.BaseObjectPoolConfig.getEvictionPolicy()
Gets the value for theevictionPolicyClass
configuration attribute for pools created with this configuration instance.Methods in org.apache.commons.pool2.impl with parameters of type EvictionPolicyModifier and TypeMethodDescriptionvoid
BaseGenericObjectPool.setEvictionPolicy
(EvictionPolicy<T> evictionPolicy) Sets the eviction policy for this pool.void
BaseObjectPoolConfig.setEvictionPolicy
(EvictionPolicy<T> evictionPolicy) Sets the value for theevictionPolicyClass
configuration attribute for pools created with this configuration instance.