|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ObjectPool | |
---|---|
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 ObjectPool in org.apache.commons.pool2 |
---|
Classes in org.apache.commons.pool2 that implement ObjectPool | |
---|---|
class |
BaseObjectPool<T>
A simple base implementation of ObjectPool . |
Methods in org.apache.commons.pool2 that return ObjectPool | ||
---|---|---|
static
|
PoolUtils.erodingPool(ObjectPool<T> pool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(ObjectPool<T> pool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.synchronizedPool(ObjectPool<T> pool)
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool. |
Methods in org.apache.commons.pool2 with parameters of type ObjectPool | ||
---|---|---|
static
|
PoolUtils.checkMinIdle(ObjectPool<T> pool,
int minIdle,
long period)
Periodically check the idle object count for the pool. |
|
static
|
PoolUtils.erodingPool(ObjectPool<T> pool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.erodingPool(ObjectPool<T> pool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
|
static
|
PoolUtils.prefill(ObjectPool<T> pool,
int count)
Call addObject() on pool count
number of times. |
|
static
|
PoolUtils.synchronizedPool(ObjectPool<T> pool)
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool. |
Uses of ObjectPool in org.apache.commons.pool2.impl |
---|
Classes in org.apache.commons.pool2.impl that implement ObjectPool | |
---|---|
class |
GenericObjectPool<T>
A configurable ObjectPool implementation. |
class |
SoftReferenceObjectPool<T>
A SoftReference based ObjectPool . |
Uses of ObjectPool in org.apache.commons.pool2.proxy |
---|
Classes in org.apache.commons.pool2.proxy that implement ObjectPool | |
---|---|
class |
ProxiedObjectPool<T>
Create a new 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 ObjectPool | |
---|---|
ProxiedObjectPool(ObjectPool<T> pool,
org.apache.commons.pool2.proxy.ProxySource<T> proxySource)
Create a new proxied object pool. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |