A B C D E G I K L M N O P R S T V W 
All Classes All Packages

A

activateObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(K, V) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(T) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
activateObject(T) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Reinitialize an instance to be returned by the pool.
adapt(KeyedObjectPool<Object, V>) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed.
adapt(KeyedObjectPool<Object, V>, Object) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed using the specified key when delegating.
adapt(KeyedPoolableObjectFactory<Object, V>) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed.
adapt(KeyedPoolableObjectFactory<K, V>, K) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed using the specified key when delegating.
adapt(ObjectPool<V>) - Static method in class org.apache.commons.pool.PoolUtils
Adapt an ObjectPool to work where an KeyedObjectPool is needed.
adapt(PoolableObjectFactory<V>) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is needed.
addObject() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
addObject() - Method in class org.apache.commons.pool.impl.GenericObjectPool
Create an object, and place it into the pool.
addObject() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
Create an object, and place it into the pool.
addObject() - Method in class org.apache.commons.pool.impl.StackObjectPool
Create an object, and place it on top of the stack.
addObject() - Method in interface org.apache.commons.pool.ObjectPool
Create an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
addObject(K) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create an object using the factory, passivate it, and then place it in the idle object pool.
addObject(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Create an object using the factory, passivate it, and then placed in the idle object pool.
addObject(K) - Method in interface org.apache.commons.pool.KeyedObjectPool
Create an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.

B

BaseKeyedObjectPool<K,​V> - Class in org.apache.commons.pool
A simple base implementation of KeyedObjectPool.
BaseKeyedObjectPool() - Constructor for class org.apache.commons.pool.BaseKeyedObjectPool
 
BaseKeyedPoolableObjectFactory<K,​V> - Class in org.apache.commons.pool
A base implementation of KeyedPoolableObjectFactory.
BaseKeyedPoolableObjectFactory() - Constructor for class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
 
BaseObjectPool<T> - Class in org.apache.commons.pool
A simple base implementation of ObjectPool.
BaseObjectPool() - Constructor for class org.apache.commons.pool.BaseObjectPool
 
BasePoolableObjectFactory<T> - Class in org.apache.commons.pool
A base implementation of PoolableObjectFactory.
BasePoolableObjectFactory() - Constructor for class org.apache.commons.pool.BasePoolableObjectFactory
 
borrowObject() - Method in class org.apache.commons.pool.BaseObjectPool
Obtains an instance from the pool.
borrowObject() - Method in class org.apache.commons.pool.impl.GenericObjectPool
Borrows an object from the pool.
borrowObject() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
Borrow an object from the pool.
borrowObject() - Method in class org.apache.commons.pool.impl.StackObjectPool
Borrows an object from the pool.
borrowObject() - Method in interface org.apache.commons.pool.ObjectPool
Obtains an instance from this pool.
borrowObject(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Obtains an instance from this pool for the specified key.
borrowObject(K) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Borrows an object from the keyed pool associated with the given key.
borrowObject(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Borrows an object with the given key.
borrowObject(K) - Method in interface org.apache.commons.pool.KeyedObjectPool
Obtains an instance from this pool for the specified key.

C

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.
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.
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.
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(ObjectPool<T>, int, long) - Static method in class org.apache.commons.pool.PoolUtils
Periodically check the idle object count for the pool.
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() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
clear() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Clears any objects sitting idle in the pool by removing them from the idle instance pool and then invoking the configured PoolableObjectFactory's KeyedPoolableObjectFactory.destroyObject(Object, Object) method on each idle instance.
clear() - Method in class org.apache.commons.pool.impl.GenericObjectPool
Clears any objects sitting idle in the pool by removing them from the idle instance pool and then invoking the configured PoolableObjectFactory.destroyObject(Object) method on each idle instance.
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() - 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() - Method in interface org.apache.commons.pool.ObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
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(K) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key.
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).
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.
Config() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
Config() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool.Config
 
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
Create and return a new ObjectPool.
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
Create a new KeyedObjectPool.
createPool() - Method in interface org.apache.commons.pool.ObjectPoolFactory
Create and return a new ObjectPool.

D

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_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
The default maximum amount of time (in milliseconds) the GenericKeyedObjectPool.borrowObject(K) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericKeyedObjectPool.WHEN_EXHAUSTED_BLOCK.
DEFAULT_MAX_WAIT - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
The default maximum amount of time (in milliseconds) the GenericObjectPool.borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericObjectPool.WHEN_EXHAUSTED_BLOCK.
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(K, V) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Destroy an instance no longer needed by the pool.
destroyObject(T) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
destroyObject(T) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Destroys an instance no longer needed by the pool.

E

erodingPool(KeyedObjectPool<K, V>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
erodingPool(KeyedObjectPool<K, V>, float) - Static method in class org.apache.commons.pool.PoolUtils
Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
erodingPool(KeyedObjectPool<K, V>, float, boolean) - Static method in class org.apache.commons.pool.PoolUtils
Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
erodingPool(ObjectPool<T>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
erodingPool(ObjectPool<T>, float) - Static method in class org.apache.commons.pool.PoolUtils
Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
evict() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Perform numTests idle object eviction tests, evicting examined objects that meet the criteria for eviction.
evict() - Method in class org.apache.commons.pool.impl.GenericObjectPool
Perform numTests idle object eviction tests, evicting examined objects that meet the criteria for eviction.

G

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>, 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(KeyedPoolableObjectFactory<K, V>, GenericKeyedObjectPool.Config) - 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.
GenericKeyedObjectPoolFactory<K,​V> - Class in org.apache.commons.pool.impl
A factory for creating GenericKeyedObjectPool instances.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>) - 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, 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) - 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.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K, V>, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericObjectPool<T> - Class in org.apache.commons.pool.impl
A configurable ObjectPool implementation.
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>, 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(PoolableObjectFactory<T>, GenericObjectPool.Config) - 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.
GenericObjectPoolFactory<T> - Class in org.apache.commons.pool.impl
A factory for creating GenericObjectPool instances.
GenericObjectPoolFactory(PoolableObjectFactory<T>) - 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.
GenericObjectPoolFactory(PoolableObjectFactory<T>, GenericObjectPool.Config) - 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
Returns the PoolableObjectFactory used by this pool to create and manage object instances.
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
Returns the PoolableObjectFactory used by this pool to create and manage object instances.
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
Returns the maximum amount of time (in milliseconds) the GenericKeyedObjectPool.borrowObject(K) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericKeyedObjectPool.WHEN_EXHAUSTED_BLOCK.
getMaxWait() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
getMaxWait() - Method in class org.apache.commons.pool.impl.GenericObjectPool
Returns the maximum amount of time (in milliseconds) the GenericObjectPool.borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericObjectPool.WHEN_EXHAUSTED_BLOCK.
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() - 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() - 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() - Method in class org.apache.commons.pool.impl.StackObjectPool
Return the number of instances currently borrowed from this pool.
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).
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(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
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(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).
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() - 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() - Method in class org.apache.commons.pool.impl.StackObjectPool
Return the number of instances currently idle in this pool.
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).
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(K) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
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(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).
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
When true, objects will be validated before being returned by the GenericKeyedObjectPool.borrowObject(K) method.
getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned by the GenericObjectPool.borrowObject() method.
getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
When true, objects will be validated before being returned to the pool within the GenericKeyedObjectPool.returnObject(K, V).
getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned to the pool within the GenericObjectPool.returnObject(T).
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
Returns the action to take when the GenericKeyedObjectPool.borrowObject(K) 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.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
 

I

invalidateObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in interface org.apache.commons.pool.KeyedObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool.BaseObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool.impl.StackObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in interface org.apache.commons.pool.ObjectPool
Invalidates an object from the pool.
isClosed() - Method in class org.apache.commons.pool.BaseObjectPool
Has this pool instance been closed.

K

KeyedObjectPool<K,​V> - Interface in org.apache.commons.pool
A "keyed" pooling interface.
KeyedObjectPoolFactory<K,​V> - Interface in org.apache.commons.pool
A factory for creating KeyedObjectPools.
KeyedPoolableObjectFactory<K,​V> - Interface in org.apache.commons.pool
An interface defining life-cycle methods for instances to be served by a KeyedObjectPool.

L

lifo - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
lifo - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 

M

makeObject() - Method in class org.apache.commons.pool.BasePoolableObjectFactory
Creates an instance that can be served by the pool.
makeObject() - Method in interface org.apache.commons.pool.PoolableObjectFactory
Creates an instance that can be served by the pool.
makeObject(K) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Create an instance that can be served by the pool.
makeObject(K) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Create an instance that can be served by the pool.
maxActive - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
maxActive - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
maxIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
maxIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
maxTotal - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
maxWait - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
maxWait - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
minEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
minEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
minIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
minIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 

N

numTestsPerEvictionRun - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
numTestsPerEvictionRun - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 

O

ObjectPool<T> - Interface in org.apache.commons.pool
A pooling interface.
ObjectPoolFactory<T> - Interface in org.apache.commons.pool
A factory interface for creating ObjectPools.
org.apache.commons.pool - package org.apache.commons.pool
Object pooling API.
org.apache.commons.pool.impl - package org.apache.commons.pool.impl
Object pooling API implementations.

P

passivateObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Uninitialize an instance to be returned to the idle object pool.
passivateObject(K, V) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Uninitialize an instance to be returned to the idle object pool.
passivateObject(T) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
passivateObject(T) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Uninitialize an instance to be returned to the idle object pool.
PoolableObjectFactory<T> - Interface in org.apache.commons.pool
An interface defining life-cycle methods for instances to be served by an ObjectPool.
PoolUtils - Class in org.apache.commons.pool
This class consists exclusively of static methods that operate on or return ObjectPool or KeyedObjectPool related interfaces.
PoolUtils() - Constructor for class org.apache.commons.pool.PoolUtils
PoolUtils instances should NOT be constructed in standard programming.
prefill(KeyedObjectPool<K, V>, Collection<? extends K>, int) - Static method in class org.apache.commons.pool.PoolUtils
Call addObject(Object) on keyedPool with each key in keys for count number of times.
prefill(KeyedObjectPool<K, V>, K, int) - Static method in class org.apache.commons.pool.PoolUtils
Call addObject(Object) on keyedPool with key count number of times.
prefill(ObjectPool<T>, int) - Static method in class org.apache.commons.pool.PoolUtils
Call addObject() on pool count number of times.
preparePool(K, boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Registers a key for pool control.

R

returnObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Return an instance to the pool.
returnObject(K, V) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns an object to a keyed pool.
returnObject(K, V) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Returns obj to the pool under key.
returnObject(K, V) - Method in interface org.apache.commons.pool.KeyedObjectPool
Return an instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool.BaseObjectPool
Returns an instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Returns an object instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
Returns an instance to the pool after successful validation and passivation.
returnObject(T) - Method in class org.apache.commons.pool.impl.StackObjectPool
Returns an instance to the pool, pushing it on top of the idle instance stack after successful validation and passivation.
returnObject(T) - Method in interface org.apache.commons.pool.ObjectPool
Return an instance to the pool.

S

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.
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
Sets the maximum amount of time (in milliseconds) the GenericKeyedObjectPool.borrowObject(K) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericKeyedObjectPool.WHEN_EXHAUSTED_BLOCK.
setMaxWait(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Sets the maximum amount of time (in milliseconds) the GenericObjectPool.borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is GenericObjectPool.WHEN_EXHAUSTED_BLOCK.
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
When true, objects will be validated before being returned by the GenericKeyedObjectPool.borrowObject(K) method.
setTestOnBorrow(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned by the GenericObjectPool.borrowObject() method.
setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
When true, objects will be validated before being returned to the pool within the GenericKeyedObjectPool.returnObject(K, V).
setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned to the pool within the GenericObjectPool.returnObject(T).
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
Sets the action to take when the GenericKeyedObjectPool.borrowObject(K) method is invoked when the pool is exhausted (the maximum number of "active" objects has been reached).
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(PoolableObjectFactory<T>) - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
Create a SoftReferenceObjectPool with the specified factory.
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
A factory for creating StackKeyedObjectPool instances.
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
A simple, Stack-based ObjectPool implementation.
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
A factory for creating StackObjectPool instances.
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.
synchronizedPool(KeyedObjectPool<K, V>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
synchronizedPool(ObjectPool<T>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
synchronizedPoolableFactory(KeyedPoolableObjectFactory<K, V>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.
synchronizedPoolableFactory(PoolableObjectFactory<T>) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.

T

testOnBorrow - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
testOnBorrow - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
testOnReturn - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
testOnReturn - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
testWhileIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
testWhileIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
timeBetweenEvictionRunsMillis - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
timeBetweenEvictionRunsMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
toString() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Returns a string representation of this StackKeyedObjectPool, including the number of pools, the keys and the size of each keyed pool.

V

validateObject(K, V) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(K, V) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(T) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
This implementation always returns true.
validateObject(T) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Ensures that the instance is safe to be returned by the pool.

W

WHEN_EXHAUSTED_BLOCK - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericKeyedObjectPool.borrowObject(K) method should block until a new object is available, or the maximum wait time has been reached.
WHEN_EXHAUSTED_BLOCK - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericObjectPool.borrowObject() method should block until a new object is available, or the maximum wait time has been reached.
WHEN_EXHAUSTED_FAIL - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericKeyedObjectPool.borrowObject(K) method should fail, throwing a NoSuchElementException.
WHEN_EXHAUSTED_FAIL - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericObjectPool.borrowObject() method should fail, throwing a NoSuchElementException.
WHEN_EXHAUSTED_GROW - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericKeyedObjectPool.borrowObject(K) method should simply create a new object anyway.
WHEN_EXHAUSTED_GROW - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), the GenericObjectPool.borrowObject() method should simply create a new object anyway.
whenExhaustedAction - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
whenExhaustedAction - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
 
A B C D E G I K L M N O P R S T V W 
All Classes All Packages