|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyedObjectPool | |
---|---|
org.apache.commons.pool2 | Object pooling API. |
org.apache.commons.pool2.impl | Object pooling API implementations. |
org.apache.commons.pool2.proxy | Object pooling proxy implementation. |
Uses of KeyedObjectPool in org.apache.commons.pool2 |
---|
Methods in org.apache.commons.pool2 that return KeyedObjectPool | ||
---|---|---|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.synchronizedPool(KeyedObjectPool<K,V> keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
Methods in org.apache.commons.pool2 with parameters of type KeyedObjectPool | ||
---|---|---|
static
|
PoolUtils.checkMinIdle(KeyedObjectPool<K,V> keyedPool,
Collection<K> keys,
int minIdle,
long period)
Periodically check the idle object count for each key in the Collection keys in the keyedPool. |
|
static
|
PoolUtils.checkMinIdle(KeyedObjectPool<K,V> keyedPool,
K key,
int minIdle,
long period)
Periodically check the idle object count for the key in the keyedPool. |
|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(KeyedObjectPool<K,V> keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.prefill(KeyedObjectPool<K,V> keyedPool,
Collection<K> keys,
int count)
Call addObject(Object) on keyedPool with each
key in keys for count number of times. |
|
static
|
PoolUtils.prefill(KeyedObjectPool<K,V> keyedPool,
K key,
int count)
Call addObject(Object) on keyedPool with
key count number of times. |
|
static
|
PoolUtils.synchronizedPool(KeyedObjectPool<K,V> keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
Uses of KeyedObjectPool in org.apache.commons.pool2.impl |
---|
Classes in org.apache.commons.pool2.impl that implement KeyedObjectPool | |
---|---|
class |
GenericKeyedObjectPool<K,T>
A configurable KeyedObjectPool implementation. |
Uses of KeyedObjectPool in org.apache.commons.pool2.proxy |
---|
Classes in org.apache.commons.pool2.proxy that implement KeyedObjectPool | |
---|---|
class |
ProxiedKeyedObjectPool<K,V>
Create a new keyed object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool. |
Constructors in org.apache.commons.pool2.proxy with parameters of type KeyedObjectPool | |
---|---|
ProxiedKeyedObjectPool(KeyedObjectPool<K,V> pool,
org.apache.commons.pool2.proxy.ProxySource<V> proxySource)
Create a new proxied object pool. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |