Package | Description |
---|---|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
Modifier and Type | Method and Description |
---|---|
GenericKeyedObjectPoolConfig<T> |
GenericKeyedObjectPoolConfig.clone() |
Modifier and Type | Method and Description |
---|---|
void |
GenericKeyedObjectPool.setConfig(GenericKeyedObjectPoolConfig<T> conf)
Sets the configuration.
|
Constructor and Description |
---|
GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory,
GenericKeyedObjectPoolConfig<T> config)
Constructs 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. |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.