程序包 | 说明 |
---|---|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultEvictionPolicy<T>
Provides the default implementation of
EvictionPolicy used by the
pools. |
限定符和类型 | 方法和说明 |
---|---|
EvictionPolicy<T> |
BaseObjectPoolConfig.getEvictionPolicy()
Gets the value for the
evictionPolicyClass configuration
attribute for pools created with this configuration instance. |
EvictionPolicy<T> |
BaseGenericObjectPool.getEvictionPolicy()
Gets the
EvictionPolicy defined for this pool. |
限定符和类型 | 方法和说明 |
---|---|
void |
BaseObjectPoolConfig.setEvictionPolicy(EvictionPolicy<T> evictionPolicy)
Sets the value for the
evictionPolicyClass configuration
attribute for pools created with this configuration instance. |
void |
BaseGenericObjectPool.setEvictionPolicy(EvictionPolicy<T> evictionPolicy)
Sets the eviction policy for this pool.
|