| Package | Description |
|---|---|
| org.apache.commons.pool2.impl |
Object pooling API implementations.
|
| Modifier and Type | Field and Description |
|---|---|
private AbandonedConfig |
GenericObjectPool.abandonedConfig |
| Modifier and Type | Method and Description |
|---|---|
private void |
GenericObjectPool.removeAbandoned(AbandonedConfig ac)
Recover abandoned objects which have been checked out but
not used since longer than the removeAbandonedTimeout.
|
void |
GenericObjectPool.setAbandonedConfig(AbandonedConfig abandonedConfig)
Sets the abandoned object removal configuration.
|
| Constructor and Description |
|---|
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig config,
AbandonedConfig abandonedConfig)
Create a new
GenericObjectPool that tracks and destroys
objects that are checked out, but never returned to the pool. |