| Package | Description |
|---|---|
| org.apache.commons.pool2 |
Object pooling API.
|
| Modifier and Type | Field and Description |
|---|---|
private PoolUtils.ErodingFactor |
PoolUtils.ErodingKeyedObjectPool.erodingFactor
Erosion factor
|
private PoolUtils.ErodingFactor |
PoolUtils.ErodingObjectPool.factor
Erosion factor
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<K,PoolUtils.ErodingFactor> |
PoolUtils.ErodingPerKeyKeyedObjectPool.factors
Map of ErodingFactor instances keyed on pool keys
|
| Modifier and Type | Method and Description |
|---|---|
protected PoolUtils.ErodingFactor |
PoolUtils.ErodingKeyedObjectPool.getErodingFactor(K key)
Returns the eroding factor for the given key
|
protected PoolUtils.ErodingFactor |
PoolUtils.ErodingPerKeyKeyedObjectPool.getErodingFactor(K key)
Returns the eroding factor for the given key
|
| Constructor and Description |
|---|
ErodingKeyedObjectPool(KeyedObjectPool<K,V> keyedPool,
PoolUtils.ErodingFactor erodingFactor)
Create an ErodingObjectPool wrapping the given pool using the
specified erosion factor.
|