Alphabetical Index

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

A

activateObject(Object) - method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
activateObject(Object) - method in class org.apache.commons.pool.PoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
activateObject(Object,Object) - method in class org.apache.commons.pool.KeyedPoolableObjectFactory
Reinitialize an instance to be returned by the pool.
adapt(org.apache.commons.pool.KeyedObjectPool) - static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed.
adapt(org.apache.commons.pool.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(org.apache.commons.pool.KeyedPoolableObjectFactory) - static method in class org.apache.commons.pool.PoolUtils
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed.
adapt(org.apache.commons.pool.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(org.apache.commons.pool.ObjectPool) - static method in class org.apache.commons.pool.PoolUtils
Adapt an ObjectPool to work where an KeyedObjectPool is needed.
adapt(org.apache.commons.pool.PoolableObjectFactory) - 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.ObjectPool
Create an object using my factory or other implementation dependent mechanism, 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 into the pool.
addObject(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
addObject(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
addObject(Object) - method in class org.apache.commons.pool.KeyedObjectPool
Create an object using my factory or other implementation dependent mechanism, and place it into the pool.
addObject(Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool

B

BaseKeyedObjectPool - class org.apache.commons.pool.BaseKeyedObjectPool
A simple base impementation of ObjectPool.
A base implemenation of KeyedPoolableObjectFactory.
BaseObjectPool - class org.apache.commons.pool.BaseObjectPool
A simple base impementation of ObjectPool.
A base implemenation of PoolableObjectFactory.
borrowObject() - method in class org.apache.commons.pool.BaseObjectPool
Obtain an instance from my pool.
borrowObject() - method in class org.apache.commons.pool.impl.GenericObjectPool
borrowObject() - method in class org.apache.commons.pool.ObjectPool
Obtain an instance from my pool.
borrowObject() - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
borrowObject() - method in class org.apache.commons.pool.impl.StackObjectPool
borrowObject(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Obtain an instance from my pool for the specified key.
borrowObject(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
borrowObject(Object) - method in class org.apache.commons.pool.KeyedObjectPool
Obtain an instance from my pool for the specified key.
borrowObject(Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool

C

checkedPool(org.apache.commons.pool.KeyedObjectPool,Class) - static method in class org.apache.commons.pool.PoolUtils
Wraps an KeyedObjectPool and dynamically checks the type of objects borrowed and returned to the keyedPool.
checkedPool(org.apache.commons.pool.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 keyedPool.
Periodically check the idle object count for each key in the Collection keys in the keyedPool.
Periodically check the idle object count for the key in the keyedPool.
checkMinIdle(org.apache.commons.pool.ObjectPool,int,long) - static method in class org.apache.commons.pool.PoolUtils
Periodically check the idle object count for the keyedPool.
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
clear() - method in class org.apache.commons.pool.impl.GenericObjectPool
clear() - method in class org.apache.commons.pool.KeyedObjectPool
Clears my pool, removing all pooled instances (optional operation).
clear() - method in class org.apache.commons.pool.ObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
clear() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
clear() - method in class org.apache.commons.pool.impl.StackObjectPool
clear(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
clear(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
clear(Object) - method in class org.apache.commons.pool.KeyedObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
clear(Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
clearOldest() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Method clears oldest 15% of objects in pool.
close() - method in class org.apache.commons.pool.BaseKeyedObjectPool
Does nothing this base implementation.
close() - method in class org.apache.commons.pool.BaseObjectPool
Close this pool, and free any resources associated with it.
close() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
close() - method in class org.apache.commons.pool.impl.GenericObjectPool
close() - method in class org.apache.commons.pool.KeyedObjectPool
Close this pool, and free any resources associated with it.
close() - method in class org.apache.commons.pool.ObjectPool
Close this pool, and free any resources associated with it.
close() - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
close() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
close() - method in class org.apache.commons.pool.impl.StackObjectPool
A simple "struct" encapsulating the configuration information for a GenericKeyedObjectPool.
GenericObjectPool.Config - class org.apache.commons.pool.impl.GenericObjectPool.Config
A simple "struct" encapsulating the configuration information for a GenericObjectPool.
createPool() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
Create a new KeyedObjectPool.
createPool() - method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
Create and return a new ObjectPool.
createPool() - method in class org.apache.commons.pool.KeyedObjectPoolFactory
Create a new KeyedObjectPool.
createPool() - method in class org.apache.commons.pool.ObjectPoolFactory
Create and return a new ObjectPool.
createPool() - method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
Create a new KeyedObjectPool.
createPool() - method in class org.apache.commons.pool.impl.StackObjectPoolFactory

D

DEFAULT_MAX_ACTIVE - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default cap on the total number of active instances from the pool (per key).
DEFAULT_MAX_ACTIVE - static field 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 field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default cap on the number of idle instances in the pool (per key).
DEFAULT_MAX_IDLE - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default cap on the number of "sleeping" instances in the pool.
DEFAULT_MAX_TOTAL - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default cap on the the maximum number of objects that can exists at one time.
DEFAULT_MAX_WAIT - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default maximum amount of time (in millis) the borrowObject(Object) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is WHEN_EXHAUSTED_BLOCK.
DEFAULT_MAX_WAIT - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default maximum amount of time (in millis) the borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is WHEN_EXHAUSTED_BLOCK.
DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default value for getMinEvictableIdleTimeMillis().
DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default value for getMinEvictableIdleTimeMillis().
DEFAULT_MIN_IDLE - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default minimum level of idle objects in the pool.
DEFAULT_MIN_IDLE - static field 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 field 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 field 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 field in class org.apache.commons.pool.impl.GenericObjectPool
The default value for getSoftMinEvictableIdleTimeMillis().
DEFAULT_TEST_ON_BORROW - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default "test on borrow" value.
DEFAULT_TEST_ON_BORROW - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default "test on borrow" value.
DEFAULT_TEST_ON_RETURN - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default "test on return" value.
DEFAULT_TEST_ON_RETURN - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default "test on return" value.
DEFAULT_TEST_WHILE_IDLE - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default "test while idle" value.
DEFAULT_TEST_WHILE_IDLE - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default "test while idle" value.
DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default "time between eviction runs" value.
DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default "time between eviction runs" value.
DEFAULT_WHEN_EXHAUSTED_ACTION - static field in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default "when exhausted action" for the pool.
DEFAULT_WHEN_EXHAUSTED_ACTION - static field in class org.apache.commons.pool.impl.GenericObjectPool
The default "when exhausted action" for the pool.
destroyObject(Object) - method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
destroyObject(Object) - method in class org.apache.commons.pool.PoolableObjectFactory
Destroys an instance no longer needed by the pool.
destroyObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
destroyObject(Object,Object) - method in class org.apache.commons.pool.KeyedPoolableObjectFactory
Destroy an instance no longer needed by the pool.

E

evict() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
evict() - method in class org.apache.commons.pool.impl.GenericObjectPool

G

GenericKeyedObjectPool - class org.apache.commons.pool.impl.GenericKeyedObjectPool
A configurable KeyedObjectPool implementation.
GenericKeyedObjectPool() - constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
Create a new GenericKeyedObjectPool..
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
A factory for creating GenericKeyedObjectPool instances.
GenericObjectPool - class org.apache.commons.pool.impl.GenericObjectPool
A configurable ObjectPool implementation.
GenericObjectPool() - constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool.
GenericObjectPool(org.apache.commons.pool.PoolableObjectFactory) - constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
GenericObjectPoolFactory - class org.apache.commons.pool.impl.GenericObjectPoolFactory
A factory for creating GenericObjectPool instances.
getMaxActive() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the cap on the number of active instances from my pool (per key).
getMaxActive() - method in class org.apache.commons.pool.impl.GenericObjectPool
Returns the cap on the total number of active instances from my pool.
getMaxIdle() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the cap on the number of "idle" instances in the pool.
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 cap on the total number of instances from my pool if non-positive.
getMaxWait() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the maximum amount of time (in milliseconds) the borrowObject(Object) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is WHEN_EXHAUSTED_BLOCK.
getMaxWait() - method in class org.apache.commons.pool.impl.GenericObjectPool
Returns the maximum amount of time (in milliseconds) the borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is 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 eligable 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 eligable 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 in pool to maintain (per key)
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() - 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
getNumActive() - method in class org.apache.commons.pool.impl.GenericObjectPool
getNumActive() - method in class org.apache.commons.pool.KeyedObjectPool
Returns the total number of instances current borrowed from my pool but not yet returned (optional operation).
getNumActive() - method in class org.apache.commons.pool.ObjectPool
Return the number of instances currently borrowed from my pool (optional operation).
getNumActive() - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
getNumActive() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
getNumActive() - method in class org.apache.commons.pool.impl.StackObjectPool
getNumActive(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
getNumActive(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
getNumActive(Object) - method in class org.apache.commons.pool.KeyedObjectPool
Returns the number of instances currently borrowed from but not yet returned to my pool corresponding to the given key (optional operation).
getNumActive(Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
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
getNumIdle() - method in class org.apache.commons.pool.impl.GenericObjectPool
getNumIdle() - method in class org.apache.commons.pool.KeyedObjectPool
Returns the total number of instances currently idle in my pool (optional operation).
getNumIdle() - method in class org.apache.commons.pool.ObjectPool
Return the number of instances currently idle in my pool (optional operation).
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
getNumIdle() - method in class org.apache.commons.pool.impl.StackObjectPool
getNumIdle(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
getNumIdle(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
getNumIdle(Object) - method in class org.apache.commons.pool.KeyedObjectPool
Returns the number of instances corresponding to the given key currently idle in my pool (optional operation).
getNumIdle(Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
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 eligable 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 borrowObject(Object) method.
getTestOnBorrow() - method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned by the 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 returnObject(Object,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 returnObject(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 borrowObject(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 borrowObject() method is invoked when the pool is exhausted (the maximum number of "active" objects has been reached).

I

invalidateObject(Object) - method in class org.apache.commons.pool.BaseObjectPool
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.
invalidateObject(Object) - method in class org.apache.commons.pool.impl.GenericObjectPool
invalidateObject(Object) - method in class org.apache.commons.pool.ObjectPool
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.
invalidateObject(Object) - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
invalidateObject(Object) - method in class org.apache.commons.pool.impl.StackObjectPool
invalidateObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
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,Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
invalidateObject(Object,Object) - method in class 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,Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool

K

KeyedObjectPool - interface org.apache.commons.pool.KeyedObjectPool
A "keyed" pooling interface.
KeyedObjectPoolFactory - interface org.apache.commons.pool.KeyedObjectPoolFactory
A factory for creating KeyedObjectPools.
KeyedPoolableObjectFactory - interface org.apache.commons.pool.KeyedPoolableObjectFactory
An interface defining life-cycle methods for instances to be served by a KeyedObjectPool.

M

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

N

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

O

ObjectPool - interface org.apache.commons.pool.ObjectPool
A pooling interface.
ObjectPoolFactory - interface org.apache.commons.pool.ObjectPoolFactory
A factory interface for creating ObjectPools.
Object pooling API.
Object pooling API implementations.

P

passivateObject(Object) - method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
passivateObject(Object) - method in class org.apache.commons.pool.PoolableObjectFactory
Uninitialize an instance to be returned to the pool.
passivateObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
passivateObject(Object,Object) - method in class org.apache.commons.pool.KeyedPoolableObjectFactory
Uninitialize an instance to be returned to the pool.
PoolableObjectFactory - interface org.apache.commons.pool.PoolableObjectFactory
An interface defining life-cycle methods for instances to be used in an ObjectPool.
PoolUtils - class org.apache.commons.pool.PoolUtils
This class consists exclusively of static methods that operate on or return keyedPool related interfaces.
PoolUtils() - constructor for class org.apache.commons.pool.PoolUtils
PoolUtils instances should NOT be constructed in standard programming.
prefill(org.apache.commons.pool.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.
prefill(org.apache.commons.pool.KeyedObjectPool,Object,int) - static method in class org.apache.commons.pool.PoolUtils
Call addObject(Object) on keyedPool with key count number of times.
prefill(org.apache.commons.pool.ObjectPool,int) - static method in class org.apache.commons.pool.PoolUtils
Call addObject() on keyedPool 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) - method in class org.apache.commons.pool.BaseObjectPool
Return an instance to my pool.
returnObject(Object) - method in class org.apache.commons.pool.impl.GenericObjectPool
returnObject(Object) - method in class org.apache.commons.pool.ObjectPool
Return an instance to my pool.
returnObject(Object) - method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
returnObject(Object) - method in class org.apache.commons.pool.impl.StackObjectPool
returnObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
Return an instance to my pool.
returnObject(Object,Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
returnObject(Object,Object) - method in class org.apache.commons.pool.KeyedObjectPool
Return an instance to my pool.
returnObject(Object,Object) - method in class org.apache.commons.pool.impl.StackKeyedObjectPool

S

Sets my configuration.
Sets my configuration.
Not supported in this base implementation.
Sets the factory I use to create new instances (optional operation).
Not supported in this base implementation.
Sets the factory I use to create new instances (optional operation).
setFactory(org.apache.commons.pool.PoolableObjectFactory) - method in class org.apache.commons.pool.impl.StackObjectPool
setMaxActive(int) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Sets the cap on the number of active instances from my pool (per key).
setMaxActive(int) - method in class org.apache.commons.pool.impl.GenericObjectPool
Sets the cap on the total number of active instances from my pool.
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 my pool if non-positive.
setMaxWait(long) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Sets the maximum amount of time (in milliseconds) the borrowObject(Object) method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is WHEN_EXHAUSTED_BLOCK.
setMaxWait(long) - method in class org.apache.commons.pool.impl.GenericObjectPool
Sets the maximum amount of time (in milliseconds) the borrowObject() method should block before throwing an exception when the pool is exhausted and the "when exhausted" action is 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 eligable 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 eligable 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 in pool to maintain (per key)
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 eligable for eviction by the idle object evictor (if any), with the extra condition that at least "minIdle" amount of object 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 borrowObject(Object) method.
setTestOnBorrow(boolean) - method in class org.apache.commons.pool.impl.GenericObjectPool
When true, objects will be validated before being returned by the 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 returnObject(Object,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 returnObject(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 borrowObject(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 borrowObject() method is invoked when the pool is exhausted (the maximum number of "active" objects has been reached).
softMinEvictableIdleTimeMillis - field in class org.apache.commons.pool.impl.GenericObjectPool.Config
SoftReferenceObjectPool - class org.apache.commons.pool.impl.SoftReferenceObjectPool
SoftReferenceObjectPool() - constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
StackKeyedObjectPool - class org.apache.commons.pool.impl.StackKeyedObjectPool
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.
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
Create a new SimpleKeyedObjectPool using the specified factory to create new instances.
StackKeyedObjectPoolFactory - class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
A factory for creating StackKeyedObjectPool instances.
StackKeyedObjectPoolFactory() - constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
StackKeyedObjectPoolFactory(int) - constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
StackKeyedObjectPoolFactory(int,int) - constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
StackObjectPool - class org.apache.commons.pool.impl.StackObjectPool
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(org.apache.commons.pool.PoolableObjectFactory) - constructor for class org.apache.commons.pool.impl.StackObjectPool
Create a new StackObjectPool using the specified factory to create new instances.
StackObjectPool(org.apache.commons.pool.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.
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 org.apache.commons.pool.impl.StackObjectPoolFactory
A factory for creating StackObjectPool instances.
StackObjectPoolFactory() - constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
StackObjectPoolFactory(int) - constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
StackObjectPoolFactory(int,int) - constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
synchronizedPool(org.apache.commons.pool.KeyedObjectPool) - static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
synchronizedPool(org.apache.commons.pool.ObjectPool) - static method in class org.apache.commons.pool.PoolUtils
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.
Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.

T

testOnBorrow - field in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
testOnBorrow - field in class org.apache.commons.pool.impl.GenericObjectPool.Config
testOnReturn - field in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
testOnReturn - field in class org.apache.commons.pool.impl.GenericObjectPool.Config
testWhileIdle - field in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
testWhileIdle - field in class org.apache.commons.pool.impl.GenericObjectPool.Config
timeBetweenEvictionRunsMillis - field in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
timeBetweenEvictionRunsMillis - field in class org.apache.commons.pool.impl.GenericObjectPool.Config
toString() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool

V

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

W

WHEN_EXHAUSTED_BLOCK - static field 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 borrowObject(Object) method should block until a new object is available, or the maximum wait time has been reached.
WHEN_EXHAUSTED_BLOCK - static field 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 borrowObject() method should block until a new object is available, or the maximum wait time has been reached.
WHEN_EXHAUSTED_FAIL - static field 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 borrowObject(Object) method should fail, throwing a NoSuchElementException.
WHEN_EXHAUSTED_FAIL - static field 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 borrowObject() method should fail, throwing a NoSuchElementException.
WHEN_EXHAUSTED_GROW - static field 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 borrowObject(Object) method should simply create a new object anyway.
WHEN_EXHAUSTED_GROW - static field 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 borrowObject() method should simply create a new object anyway.
whenExhaustedAction - field in class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
whenExhaustedAction - field in class org.apache.commons.pool.impl.GenericObjectPool.Config

Copyright © 2001-2003 Apache Software Foundation. Documenation generated March 8 2007.