- checkedPool(ObjectPool<T>, Class<T>) - Static method in class org.apache.commons.pool.PoolUtils
-
Wraps an ObjectPool
and dynamically checks the type of objects borrowed and returned to the pool.
- checkedPool(KeyedObjectPool<K, V>, Class<V>) - Static method in class org.apache.commons.pool.PoolUtils
-
Wraps a KeyedObjectPool
and dynamically checks the type of objects borrowed and returned to the keyedPool.
- checkMinIdle(ObjectPool<T>, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for the pool.
- checkMinIdle(KeyedObjectPool<K, V>, K, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for the key in the keyedPool.
- checkMinIdle(KeyedObjectPool<K, V>, Collection<? extends K>, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for each key in the Collection
keys
in the keyedPool.
- checkRethrow(Throwable) - Static method in class org.apache.commons.pool.PoolUtils
-
Should the supplied Throwable be re-thrown (eg if it is an instance of
one of the Throwables that should never be swallowed).
- clear() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- clear(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- clear() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- clear() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- clear(K) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Clears the specified pool, removing all pooled instances corresponding to the given key
.
- clear() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- clear() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Clears any objects sitting idle in the pool.
- clear() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Clears the pool, removing all pooled instances.
- clear(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Clears the specified pool, removing all pooled instances corresponding to the given key
.
- clear() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Clears any objects sitting idle in the pool.
- clear() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Clears the pool, removing all pooled instances (optional operation).
- clear(K) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Clears the specified pool, removing all
pooled instances corresponding to
the given key
(optional operation).
- clear() - Method in interface org.apache.commons.pool.ObjectPool
-
Clears any objects sitting idle in the pool, releasing any
associated resources (optional operation).
- clearOldest() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Clears oldest 15% of objects in pool.
- close() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Close this pool.
- close() - Method in class org.apache.commons.pool.BaseObjectPool
-
Close this pool.
- close() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Closes the keyed object pool.
- close() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Closes the pool.
- close() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Close this pool, and free any resources associated with it.
- close() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Close this pool, and free any resources associated with it.
- close() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Close this pool, and free any resources associated with it.
- close() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Close this pool, and free any resources associated with it.
- close() - Method in interface org.apache.commons.pool.ObjectPool
-
Close this pool, and free any resources associated with it.
- createPool() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPool with the currently configured properties.
- createPool() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- createPool() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a StackKeyedObjectPool with current property settings.
- createPool() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Create a StackObjectPool.
- createPool() - Method in interface org.apache.commons.pool.KeyedObjectPoolFactory
-
- createPool() - Method in interface org.apache.commons.pool.ObjectPoolFactory
-
- DEFAULT_INIT_SLEEPING_CAPACITY - Static variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
The default initial size of the pool
(this specifies the size of the container, it does not
cause the pool to be pre-populated.)
- DEFAULT_INIT_SLEEPING_CAPACITY - Static variable in class org.apache.commons.pool.impl.StackObjectPool
-
The default initial size of the pool
(this specifies the size of the container, it does not
cause the pool to be pre-populated.)
- DEFAULT_LIFO - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default LIFO status.
- DEFAULT_LIFO - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default LIFO status.
- DEFAULT_MAX_ACTIVE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default cap on the total number of active instances (per key)
from the pool.
- DEFAULT_MAX_ACTIVE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default cap on the total number of active instances from the pool.
- DEFAULT_MAX_IDLE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default cap on the number of idle instances (per key) in the pool.
- DEFAULT_MAX_IDLE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default cap on the number of "sleeping" instances in the pool.
- DEFAULT_MAX_SLEEPING - Static variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
The default cap on the number of "sleeping" instances in the pool.
- DEFAULT_MAX_SLEEPING - Static variable in class org.apache.commons.pool.impl.StackObjectPool
-
The cap on the number of "sleeping" instances in the pool.
- DEFAULT_MAX_TOTAL - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default cap on the the overall maximum number of objects that can
exist at one time.
- DEFAULT_MAX_WAIT - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- DEFAULT_MAX_WAIT - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_MIN_IDLE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default minimum level of idle objects in the pool.
- DEFAULT_MIN_IDLE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default minimum number of "sleeping" instances in the pool
before before the evictor thread (if active) spawns new objects.
- DEFAULT_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default number of objects to examine per run in the
idle object evictor.
- DEFAULT_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default number of objects to examine per run in the
idle object evictor.
- DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_TEST_ON_BORROW - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test on borrow" value.
- DEFAULT_TEST_ON_BORROW - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test on borrow" value.
- DEFAULT_TEST_ON_RETURN - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test on return" value.
- DEFAULT_TEST_ON_RETURN - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test on return" value.
- DEFAULT_TEST_WHILE_IDLE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test while idle" value.
- DEFAULT_TEST_WHILE_IDLE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test while idle" value.
- DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "time between eviction runs" value.
- DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "time between eviction runs" value.
- DEFAULT_WHEN_EXHAUSTED_ACTION - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "when exhausted action" for the pool.
- DEFAULT_WHEN_EXHAUSTED_ACTION - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "when exhausted action" for the pool.
- destroyObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
-
Destroy an instance no longer needed by the pool.
- destroyObject(T) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
-
No-op.
- destroyObject(K, V) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
-
Destroy an instance no longer needed by the pool.
- destroyObject(T) - Method in interface org.apache.commons.pool.PoolableObjectFactory
-
Destroys an instance no longer needed by the pool.
- GenericKeyedObjectPool<K,V> - Class in org.apache.commons.pool.impl
-
A configurable KeyedObjectPool
implementation.
- GenericKeyedObjectPool() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
with no factory.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool
using the specified values.
- GenericKeyedObjectPool.Config - Class in org.apache.commons.pool.impl
-
A simple "struct" encapsulating the
configuration information for a GenericKeyedObjectPool
.
- GenericKeyedObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
-
- GenericKeyedObjectPoolFactory<K,V> - Class in org.apache.commons.pool.impl
-
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
Create a new GenericKeyedObjectPoolFactory.
- GenericObjectPool<T> - Class in org.apache.commons.pool.impl
-
- GenericObjectPool() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool with default properties.
- GenericObjectPool(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified factory.
- GenericObjectPool(PoolableObjectFactory<T>, GenericObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool.Config - Class in org.apache.commons.pool.impl
-
A simple "struct" encapsulating the
configuration information for a
GenericObjectPool
.
- GenericObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool.Config
-
- GenericObjectPoolFactory<T> - Class in org.apache.commons.pool.impl
-
- GenericObjectPoolFactory(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, GenericObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- GenericObjectPoolFactory(PoolableObjectFactory<T>, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
Create a new GenericObjectPoolFactory.
- getActiveCount() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getFactory() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getFactory() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getFactory() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
- getFactory() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getFactory() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Returns the KeyedPoolableObjectFactory used by StackKeyedObjectPools created by this factory
- getFactory() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- getFactory() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Returns the factory used by created pools.
- getInitCapacity() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Returns the initial capacity of created pools.
- getInitialCapacity() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Returns the initial capacity of StackKeyedObjectPools created by this factory.
- getInitSleepingCapacity() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getLifo() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Whether or not the idle object pools act as LIFO queues.
- getLifo() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getLifo() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Whether or not the idle object pool acts as a LIFO queue.
- getLifo() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getMaxActive() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the cap on the number of object instances allocated by the pool
(checked out or idle), per key.
- getMaxActive() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMaxActive() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the maximum number of objects that can be allocated by the pool
(checked out to clients, or idle awaiting checkout) at a given time.
- getMaxActive() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getMaxIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the cap on the number of "idle" instances per key.
- getMaxIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMaxIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the cap on the number of "idle" instances in the pool.
- getMaxIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getMaxSleeping() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getMaxSleeping() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Returns the maximum number of idle instances in each keyed pool for StackKeyedObjectPools created by this factory
- getMaxSleeping() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Returns the maximum number of idle instances in the pool.
- getMaxSleeping() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Returns the maxIdle setting for created pools.
- getMaxTotal() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the overall maximum number of objects (across pools) that can
exist at one time.
- getMaxTotal() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMaxWait() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getMaxWait() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMaxWait() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- getMaxWait() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getMinIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the minimum number of idle objects to maintain in each of the keyed
pools.
- getMinIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getMinIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the minimum number of objects allowed in the pool
before the evictor thread (if active) spawns new objects.
- getMinIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getNumActive(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the total number of instances current borrowed from this pool but not yet returned.
- getNumActive(Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the number of instances currently borrowed from but not yet returned
to the pool corresponding to the given key
.
- getNumActive() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Return the number of instances currently borrowed from this pool.
- getNumActive() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Return the number of instances currently borrowed from this pool.
- getNumActive() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Returns the total number of instances current borrowed from this pool but not yet returned.
- getNumActive(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Returns the number of instances currently borrowed from but not yet returned
to the pool corresponding to the given key
.
- getNumActive() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Return the number of instances currently borrowed from this pool.
- getNumActive(K) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Returns the number of instances
currently borrowed from but not yet returned
to the pool corresponding to the
given key
(optional operation).
- getNumActive() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Returns the total number of instances
current borrowed from this pool but not
yet returned (optional operation).
- getNumActive() - Method in interface org.apache.commons.pool.ObjectPool
-
Return the number of instances
currently borrowed from this pool
(optional operation).
- getNumIdle(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the total number of instances currently idle in this pool.
- getNumIdle(Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the number of instances corresponding to the given key
currently idle in this pool.
- getNumIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Return the number of instances currently idle in this pool.
- getNumIdle() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Returns an approximation not less than the of the number of idle instances in the pool.
- getNumIdle() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Returns the total number of instances currently idle in this pool.
- getNumIdle(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Returns the number of instances corresponding to the given key
currently idle in this pool.
- getNumIdle() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Return the number of instances
currently idle in this pool.
- getNumIdle(K) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Returns the number of instances
corresponding to the given key
currently idle in this pool (optional operation).
- getNumIdle() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Returns the total number of instances
currently idle in this pool (optional operation).
- getNumIdle() - Method in interface org.apache.commons.pool.ObjectPool
-
Return the number of instances
currently idle in this pool (optional operation).
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the max number of objects to examine during each run of the
idle object evictor thread (if any).
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the max number of objects to examine during each run of the
idle object evictor thread (if any).
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getPools() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any), with the extra condition that at least
"minIdle" amount of object remain in the pool.
- getSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getTestWhileIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
When
true
, objects will be
validated
by the idle object evictor (if any).
- getTestWhileIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getTestWhileIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
When
true, objects will be
validated
by the idle object evictor (if any).
- getTestWhileIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Returns the number of milliseconds to sleep between runs of the
idle object evictor thread.
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the number of milliseconds to sleep between runs of the
idle object evictor thread.
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- getTotActive() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getTotIdle() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getWhenExhaustedAction() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getWhenExhaustedAction() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- getWhenExhaustedAction() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Returns the action to take when the
GenericObjectPool.borrowObject()
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
- getWhenExhaustedAction() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- setConfig(GenericKeyedObjectPool.Config) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the configuration.
- setConfig(GenericObjectPool.Config) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets my configuration.
- setFactory(KeyedPoolableObjectFactory<K, V>) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(PoolableObjectFactory<T>) - Method in class org.apache.commons.pool.BaseObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(KeyedPoolableObjectFactory<K, V>) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Deprecated.
to be removed in version 2.0
- setFactory(PoolableObjectFactory<T>) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Deprecated.
to be removed in version 2.0
- setFactory(PoolableObjectFactory<T>) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(KeyedPoolableObjectFactory<K, V>) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(PoolableObjectFactory<T>) - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(KeyedPoolableObjectFactory<K, V>) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Deprecated.
to be removed in pool 2.0
- setFactory(PoolableObjectFactory<T>) - Method in interface org.apache.commons.pool.ObjectPool
-
Deprecated.
to be removed in pool 2.0
- setLifo(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the LIFO property of the pools.
- setLifo(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the LIFO property of the pool.
- setMaxActive(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the cap on the number of object instances managed by the pool per key.
- setMaxActive(int) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the cap on the number of objects that can be allocated by the pool
(checked out to clients, or idle awaiting checkout) at a given time.
- setMaxIdle(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the cap on the number of "idle" instances in the pool.
- setMaxIdle(int) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the cap on the number of "idle" instances in the pool.
- setMaxTotal(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the cap on the total number of instances from all pools combined.
- setMaxWait(long) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setMaxWait(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- setMinIdle(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the minimum number of idle objects to maintain in each of the keyed
pools.
- setMinIdle(int) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the minimum number of objects allowed in the pool
before the evictor thread (if active) spawns new objects.
- setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the max number of objects to examine during each run of the
idle object evictor thread (if any).
- setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the max number of objects to examine during each run of the
idle object evictor thread (if any).
- setSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the minimum amount of time an object may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any), with the extra condition that at least
"minIdle" object instances remain in the pool.
- setTestOnBorrow(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setTestOnBorrow(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- setTestWhileIdle(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
When
true
, objects will be
validated
by the idle object evictor (if any).
- setTestWhileIdle(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
When
true, objects will be
validated
by the idle object evictor (if any).
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Sets the number of milliseconds to sleep between runs of the
idle object evictor thread.
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the number of milliseconds to sleep between runs of the
idle object evictor thread.
- setWhenExhaustedAction(byte) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setWhenExhaustedAction(byte) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the action to take when the
GenericObjectPool.borrowObject()
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
- softMinEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
-
- SoftReferenceObjectPool<T> - Class in org.apache.commons.pool.impl
-
- SoftReferenceObjectPool() - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
- SoftReferenceObjectPool(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Create a SoftReferenceObjectPool
with the specified factory.
- SoftReferenceObjectPool(PoolableObjectFactory<T>, int) - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Deprecated.
because this is a SoftReference pool, prefilled idle obejects may be garbage collected before they are used.
To be removed in Pool 2.0.
- StackKeyedObjectPool<K,V> - Class in org.apache.commons.pool.impl
-
A simple, Stack
-based KeyedObjectPool
implementation.
- StackKeyedObjectPool() - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using no factory.
- StackKeyedObjectPool(int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using no factory.
- StackKeyedObjectPool(int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using no factory.
- StackKeyedObjectPool(KeyedPoolableObjectFactory<K, V>) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool
using
the specified factory
to create new instances.
- StackKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool
using
the specified factory
to create new instances.
- StackKeyedObjectPool(KeyedPoolableObjectFactory<K, V>, int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool
using
the specified factory
to create new instances.
- StackKeyedObjectPoolFactory<K,V> - Class in org.apache.commons.pool.impl
-
- StackKeyedObjectPoolFactory() - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackKeyedObjectPoolFactory(int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackKeyedObjectPoolFactory(int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
Create a new StackKeyedObjectPoolFactory.
- StackObjectPool<T> - Class in org.apache.commons.pool.impl
-
- StackObjectPool() - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
- StackObjectPool(int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
- StackObjectPool(int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
- StackObjectPool(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new StackObjectPool using the specified factory to create new instances.
- StackObjectPool(PoolableObjectFactory<T>, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new SimpleObjectPool using the specified factory to create new instances,
capping the number of "sleeping" instances to maxIdle.
- StackObjectPool(PoolableObjectFactory<T>, int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new StackObjectPool using the specified factory
to create new instances,
capping the number of "sleeping" instances to maxIdle
, and initially allocating a container
capable of containing at least initIdleCapacity
instances.
- StackObjectPoolFactory<T> - Class in org.apache.commons.pool.impl
-
- StackObjectPoolFactory() - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
- StackObjectPoolFactory(int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
- StackObjectPoolFactory(int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
- StackObjectPoolFactory(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Create a new StackObjectPoolFactory.
- StackObjectPoolFactory(PoolableObjectFactory<T>, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Create a new StackObjectPoolFactory.
- StackObjectPoolFactory(PoolableObjectFactory<T>, int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
-
Create a new StackObjectPoolFactory.
- startEvictor(long) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Start the eviction thread or service, or when
delay
is non-positive, stop it
if it is already running.
- startEvictor(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Start the eviction thread or service, or when
delay is non-positive, stop it
if it is already running.
- synchronizedPool(ObjectPool<T>) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
- synchronizedPool(KeyedObjectPool<K, V>) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
- synchronizedPoolableFactory(PoolableObjectFactory<T>) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
- synchronizedPoolableFactory(KeyedPoolableObjectFactory<K, V>) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.