|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyedObjectPool | |
---|---|
org.apache.commons.pool | Object pooling API. |
org.apache.commons.pool.impl | Object pooling API implementations. |
Uses of KeyedObjectPool in org.apache.commons.pool |
---|
Classes in org.apache.commons.pool that implement KeyedObjectPool | |
---|---|
class |
BaseKeyedObjectPool
A simple base implementation of KeyedObjectPool . |
Methods in org.apache.commons.pool that return KeyedObjectPool | |
---|---|
static KeyedObjectPool |
PoolUtils.adapt(ObjectPool pool)
Adapt an ObjectPool to work where an KeyedObjectPool is needed. |
static KeyedObjectPool |
PoolUtils.checkedPool(KeyedObjectPool keyedPool,
Class type)
Wraps a KeyedObjectPool and dynamically checks the type of objects borrowed and returned to the keyedPool. |
KeyedObjectPool |
KeyedObjectPoolFactory.createPool()
Create a new KeyedObjectPool . |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.synchronizedPool(KeyedObjectPool keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
Methods in org.apache.commons.pool with parameters of type KeyedObjectPool | |
---|---|
static ObjectPool |
PoolUtils.adapt(KeyedObjectPool keyedPool)
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed. |
static ObjectPool |
PoolUtils.adapt(KeyedObjectPool keyedPool,
Object key)
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed using the
specified key when delegating. |
static KeyedObjectPool |
PoolUtils.checkedPool(KeyedObjectPool keyedPool,
Class type)
Wraps a KeyedObjectPool and dynamically checks the type of objects borrowed and returned to the keyedPool. |
static Map |
PoolUtils.checkMinIdle(KeyedObjectPool keyedPool,
Collection keys,
int minIdle,
long period)
Periodically check the idle object count for each key in the Collection keys in the keyedPool. |
static TimerTask |
PoolUtils.checkMinIdle(KeyedObjectPool keyedPool,
Object key,
int minIdle,
long period)
Periodically check the idle object count for the key in the keyedPool. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static void |
PoolUtils.prefill(KeyedObjectPool keyedPool,
Collection keys,
int count)
Call addObject(Object) on keyedPool with each key in keys for
count number of times. |
static void |
PoolUtils.prefill(KeyedObjectPool keyedPool,
Object key,
int count)
Call addObject(Object) on keyedPool with key count
number of times. |
static KeyedObjectPool |
PoolUtils.synchronizedPool(KeyedObjectPool keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
Uses of KeyedObjectPool in org.apache.commons.pool.impl |
---|
Classes in org.apache.commons.pool.impl that implement KeyedObjectPool | |
---|---|
class |
GenericKeyedObjectPool
A configurable KeyedObjectPool implementation. |
class |
StackKeyedObjectPool
A simple, Stack -based KeyedObjectPool implementation. |
Methods in org.apache.commons.pool.impl that return KeyedObjectPool | |
---|---|
KeyedObjectPool |
StackKeyedObjectPoolFactory.createPool()
|
KeyedObjectPool |
GenericKeyedObjectPoolFactory.createPool()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |