Package | Description |
---|---|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
Modifier and Type | Field and Description |
---|---|
protected AbandonedConfig |
BaseGenericObjectPool.abandonedConfig
Additional configuration properties for abandoned object tracking.
|
Modifier and Type | Method and Description |
---|---|
static AbandonedConfig |
AbandonedConfig.copy(AbandonedConfig abandonedConfig)
Creates a new instance with values from the given instance.
|
Modifier and Type | Method and Description |
---|---|
static AbandonedConfig |
AbandonedConfig.copy(AbandonedConfig abandonedConfig)
Creates a new instance with values from the given instance.
|
void |
BaseGenericObjectPool.setAbandonedConfig(AbandonedConfig abandonedConfig)
Sets the abandoned object removal configuration.
|
Constructor and Description |
---|
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. |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.