| 程序包 | 说明 |
|---|---|
| org.apache.commons.pool2.impl |
Object pooling API implementations.
|
| 限定符和类型 | 方法和说明 |
|---|---|
GenericKeyedObjectPoolConfig<T> |
GenericKeyedObjectPoolConfig.clone() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GenericKeyedObjectPool.setConfig(GenericKeyedObjectPoolConfig<T> conf)
Sets the configuration.
|
| 构造器和说明 |
|---|
GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory,
GenericKeyedObjectPoolConfig<T> config)
Create a new
GenericKeyedObjectPool using a specific
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. |