程序包 | 说明 |
---|---|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
限定符和类型 | 方法和说明 |
---|---|
void |
GenericObjectPool.setAbandonedConfig(AbandonedConfig abandonedConfig)
Sets the abandoned object removal configuration.
|
void |
GenericKeyedObjectPool.setAbandonedConfig(AbandonedConfig abandonedConfig)
Sets the abandoned object removal configuration.
|
构造器和说明 |
---|
GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory,
GenericKeyedObjectPoolConfig<T> config,
AbandonedConfig abandonedConfig)
Creates a new
GenericKeyedObjectPool that tracks and destroys
objects that are checked out, but never returned to the pool. |
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig<T> config,
AbandonedConfig abandonedConfig)
Creates a new
GenericObjectPool that tracks and destroys
objects that are checked out, but never returned to the pool. |