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

A

activateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
activateObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
activateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Reinitialize an instance to be returned by the pool.
adapt(KeyedPoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed.
adapt(KeyedPoolableObjectFactory, Object) - 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(PoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is needed.
adapt(KeyedObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed.
adapt(KeyedObjectPool, 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(ObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
Adapt an ObjectPool to work where an KeyedObjectPool is needed.
addObject(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
addObject() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
addObject(Object) - 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() - 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(Object) - 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() - Method in class org.apache.commons.pool.impl.StackObjectPool
Create an object, and place it into the pool.
addObject(Object) - 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.
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.
assertOpen() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Throws an IllegalStateException when this pool has been closed.
assertOpen() - Method in class org.apache.commons.pool.BaseObjectPool
Throws an IllegalStateException when this pool has been closed.

B

BaseKeyedObjectPool - Class in org.apache.commons.pool
A simple base implementation of KeyedObjectPool.
BaseKeyedObjectPool() - Constructor for class org.apache.commons.pool.BaseKeyedObjectPool
 
BaseKeyedPoolableObjectFactory - Class in org.apache.commons.pool
A base implementation of KeyedPoolableObjectFactory.
BaseKeyedPoolableObjectFactory() - Constructor for class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
 
BaseObjectPool - Class in org.apache.commons.pool
A simple base implementation of ObjectPool.
BaseObjectPool() - Constructor for class org.apache.commons.pool.BaseObjectPool
 
BasePoolableObjectFactory - Class in org.apache.commons.pool
A base implementation of PoolableObjectFactory.
BasePoolableObjectFactory() - Constructor for class org.apache.commons.pool.BasePoolableObjectFactory
 
borrowObject(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
 
borrowObject() - Method in class org.apache.commons.pool.BaseObjectPool
Obtains an instance from the pool.
borrowObject(Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Borrows an object from the keyed pool associated with the given key.
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
 
borrowObject(Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
borrowObject() - Method in class org.apache.commons.pool.impl.StackObjectPool
 
borrowObject(Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
Obtains an instance from this pool for the specified key.
borrowObject() - Method in interface org.apache.commons.pool.ObjectPool
Obtains an instance from this pool.

C

checkedPool(ObjectPool, Class) - 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, Class) - 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, int, long) - Static method in class org.apache.commons.pool.PoolUtils
Periodically check the idle object count for the pool.
checkMinIdle(KeyedObjectPool, Object, 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, Collection, 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.
clear() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
clear(Object) - 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 the pool, removing all pooled instances.
clear(Object) - 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
Clears any objects sitting idle in the pool.
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(Object) - 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(Object) - 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() - 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
 
createPool() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
createPool() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
createPool() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
 
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_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 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(java.lang.Object) 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
The default value for GenericKeyedObjectPool.getMinEvictableIdleTimeMillis().
DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
The default value for GenericObjectPool.getMinEvictableIdleTimeMillis().
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
The default value for GenericObjectPool.getSoftMinEvictableIdleTimeMillis().
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(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
destroyObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
destroyObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Destroy an instance no longer needed by the pool.
destroyObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Destroys an instance no longer needed by the pool.

E

erodingPool(ObjectPool) - 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, 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) - 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, 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, 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.
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 - 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) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(KeyedPoolableObjectFactory, 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, 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, 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, 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, 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 - Class in org.apache.commons.pool.impl
A factory for creating GenericKeyedObjectPool instances.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new GenericKeyedObjectPoolFactory.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, 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, 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, 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, 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 - 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) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified factory.
GenericObjectPool(PoolableObjectFactory, GenericObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory, 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, 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, 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, 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, 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 - Class in org.apache.commons.pool.impl
A factory for creating GenericObjectPool instances.
GenericObjectPoolFactory(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, GenericObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory, 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, 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, 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, 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.
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.GenericObjectPool
Whether or not the idle object pool acts as a LIFO queue.
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.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.
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.GenericObjectPool
Returns the cap on the number of "idle" instances in the pool.
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.
getMaxWait() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the maximum amount of time (in milliseconds) the GenericKeyedObjectPool.borrowObject(java.lang.Object) 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.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.
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.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).
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.GenericObjectPool
Returns the minimum number of objects allowed in the pool before the evictor thread (if active) spawns new objects.
getNumActive(Object) - 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(Object) - 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(Object) - 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(Object) - 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(Object) - 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(Object) - 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 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.GenericObjectPool
Returns the max number of objects to examine during each run of the idle object evictor thread (if any).
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.
getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
When true, objects will be validated before being returned by the GenericKeyedObjectPool.borrowObject(java.lang.Object) method.
getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned by the GenericObjectPool.borrowObject() method.
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(java.lang.Object, java.lang.Object).
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(java.lang.Object).
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.GenericObjectPool
When true, objects will be validated by the idle object evictor (if any).
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.GenericObjectPool
Returns the number of milliseconds to sleep between runs of the idle object evictor thread.
getWhenExhaustedAction() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the action to take when the GenericKeyedObjectPool.borrowObject(java.lang.Object) 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.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).

I

invalidateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
 
invalidateObject(Object) - Method in class org.apache.commons.pool.BaseObjectPool
Invalidates an object from the pool.
invalidateObject(Object, Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Invalidates the object instance associated with the given key.
invalidateObject(Object) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Invalidates the given object instance.
invalidateObject(Object) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
invalidateObject(Object, Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
invalidateObject(Object) - Method in class org.apache.commons.pool.impl.StackObjectPool
 
invalidateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
Invalidates an object from the pool By contract, obj must have been obtained using borrowObject or a related method as defined in an implementation or sub-interface using a key that is equivalent to the one used to borrow the Object in the first place.
invalidateObject(Object) - Method in interface org.apache.commons.pool.ObjectPool
Invalidates an object from the pool.
isClosed() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Has this pool instance been closed.
isClosed() - Method in class org.apache.commons.pool.BaseObjectPool
Has this pool instance been closed.

K

KeyedObjectPool - Interface in org.apache.commons.pool
A "keyed" pooling interface.
KeyedObjectPoolFactory - Interface in org.apache.commons.pool
A factory for creating KeyedObjectPools.
KeyedPoolableObjectFactory - 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(Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
 
makeObject() - Method in class org.apache.commons.pool.BasePoolableObjectFactory
 
makeObject(Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Create 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.
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 - Interface in org.apache.commons.pool
A pooling interface.
ObjectPoolFactory - 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(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
passivateObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
passivateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Uninitialize an instance to be returned to the idle object pool.
passivateObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Uninitialize an instance to be returned to the idle object pool.
PoolableObjectFactory - 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(ObjectPool, int) - Static method in class org.apache.commons.pool.PoolUtils
Call addObject() on pool count number of times.
prefill(KeyedObjectPool, Object, int) - Static method in class org.apache.commons.pool.PoolUtils
Call addObject(Object) on keyedPool with key count number of times.
prefill(KeyedObjectPool, Collection, 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.
preparePool(Object, boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Registers a key for pool control.

R

returnObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
 
returnObject(Object) - Method in class org.apache.commons.pool.BaseObjectPool
Returns an instance to the pool.
returnObject(Object, Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns an object to a keyed pool.
returnObject(Object) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Returns an object instance to the pool.
returnObject(Object) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
returnObject(Object, Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
returnObject(Object) - Method in class org.apache.commons.pool.impl.StackObjectPool
 
returnObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
Return an instance to the pool.
returnObject(Object) - 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.
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Sets the keyed poolable object factory associated with this pool.
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Sets the factory this pool uses to create new instances.
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
Sets the factory this pool uses to create new instances.
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Sets the factory the pool uses to create new instances.
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackObjectPool
Sets the factory this pool uses to create new instances.
setFactory(KeyedPoolableObjectFactory) - Method in interface org.apache.commons.pool.KeyedObjectPool
Sets the factory the pool uses to create new instances (optional operation).
setFactory(PoolableObjectFactory) - Method in interface org.apache.commons.pool.ObjectPool
Sets the factory this pool uses to create new instances (optional operation).
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(java.lang.Object) 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 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(java.lang.Object) 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(java.lang.Object, java.lang.Object).
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(java.lang.Object).
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(java.lang.Object) 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 - Class in org.apache.commons.pool.impl
A SoftReference based ObjectPool.
SoftReferenceObjectPool() - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
Create a SoftReferenceObjectPool without a factory.
SoftReferenceObjectPool(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
Create a SoftReferenceObjectPool with the specified factory.
SoftReferenceObjectPool(PoolableObjectFactory, 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 3.0.
StackKeyedObjectPool - 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) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
StackKeyedObjectPool(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
StackKeyedObjectPool(KeyedPoolableObjectFactory, int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
StackKeyedObjectPoolFactory - 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) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
Create a new StackKeyedObjectPoolFactory.
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
Create a new StackKeyedObjectPoolFactory.
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
Create a new StackKeyedObjectPoolFactory.
StackObjectPool - Class in org.apache.commons.pool.impl
A simple, Stack-based ObjectPool implementation.
StackObjectPool() - Constructor for class org.apache.commons.pool.impl.StackObjectPool
Create a new pool using no factory.
StackObjectPool(int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
Create a new pool using no factory.
StackObjectPool(int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
Create a new pool using no factory.
StackObjectPool(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
Create a new StackObjectPool using the specified factory to create new instances.
StackObjectPool(PoolableObjectFactory, 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 max.
StackObjectPool(PoolableObjectFactory, int, 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 max, and initially allocating a container capable of containing at least init instances.
StackObjectPoolFactory - Class in org.apache.commons.pool.impl
A factory for creating StackObjectPool instances.
StackObjectPoolFactory() - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
Create a new StackObjectPoolFactory.
StackObjectPoolFactory(int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
Create a new StackObjectPoolFactory.
StackObjectPoolFactory(int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
Create a new StackObjectPoolFactory.
StackObjectPoolFactory(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
Create a new StackObjectPoolFactory.
StackObjectPoolFactory(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
Create a new StackObjectPoolFactory.
StackObjectPoolFactory(PoolableObjectFactory, 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) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
synchronizedPool(KeyedObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
synchronizedPoolableFactory(PoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
synchronizedPoolableFactory(KeyedPoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.

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
 

V

validateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
This implementation always returns true.
validateObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
This implementation always returns true.
validateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(Object) - 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(java.lang.Object) 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(java.lang.Object) 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(java.lang.Object) 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
 

_

_activeCount - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
Number of active objects borrowed and not yet returned by pool
_factory - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_factory - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_factory - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
My KeyedPoolableObjectFactory.
_factory - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
_factory - Variable in class org.apache.commons.pool.impl.StackObjectPool
My PoolableObjectFactory.
_factory - Variable in class org.apache.commons.pool.impl.StackObjectPoolFactory
 
_initCapacity - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
_initCapacity - Variable in class org.apache.commons.pool.impl.StackObjectPoolFactory
 
_initSleepingCapacity - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
The initial capacity of each pool.
_lifo - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_lifo - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_maxActive - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_maxActive - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_maxIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_maxIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_maxSleeping - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
The cap on the number of "sleeping" instances in each pool.
_maxSleeping - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
_maxSleeping - Variable in class org.apache.commons.pool.impl.StackObjectPool
The cap on the number of "sleeping" instances in the pool.
_maxSleeping - Variable in class org.apache.commons.pool.impl.StackObjectPoolFactory
 
_maxTotal - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_maxWait - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_maxWait - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_minEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_minEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_minIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_minIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_numActive - Variable in class org.apache.commons.pool.impl.StackObjectPool
Number of object borrowed but not yet returned to the pool.
_numTestsPerEvictionRun - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_numTestsPerEvictionRun - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_pool - Variable in class org.apache.commons.pool.impl.StackObjectPool
My pool.
_pools - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
My named-set of pools.
_softMinEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_testOnBorrow - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_testOnBorrow - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_testOnReturn - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_testOnReturn - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_testWhileIdle - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_testWhileIdle - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_timeBetweenEvictionRunsMillis - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_timeBetweenEvictionRunsMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
_totActive - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
Total number of object borrowed and not yet retuened for all pools
_totIdle - Variable in class org.apache.commons.pool.impl.StackKeyedObjectPool
Total number of objects "sleeping" for all pools
_whenExhaustedAction - Variable in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
_whenExhaustedAction - Variable in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 

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

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.