程序包 | 说明 |
---|---|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
EvictionPolicy.evict(EvictionConfig config,
PooledObject<T> underTest,
int idleCount)
This method is called to test if an idle object in the pool should be
evicted or not.
|
boolean |
DefaultEvictionPolicy.evict(EvictionConfig config,
PooledObject<T> underTest,
int idleCount) |