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.
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
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.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
Create an object using my factory or other implementation dependent mechanism, and place it into the pool.

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
Obtain an instance from my pool.
borrowObject() - method in class org.apache.commons.pool.impl.StackObjectPool
Obtain an instance from my pool.
borrowObject(Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
borrowObject(Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Obtain an instance from my pool for the specified key.
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
Obtain an instance from my pool for the specified key.

C

clear() - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
clear() - method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
clear() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Clears my pool, removing all pooled instances (optional operation).
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
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Clears my pool, removing all pooled instances (optional operation).
clear() - method in class org.apache.commons.pool.impl.StackObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
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
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
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
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
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 this pool, and free any resources associated with it.
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 this pool, and free any resources associated with it.
close() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
Close this pool, and free any resources associated with it.
close() - method in class org.apache.commons.pool.impl.StackObjectPool
Close this pool, and free any resources associated with it.
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
Create and return a new ObjectPool.

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.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_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.
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.
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.
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.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
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.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
Return the number of instances currently borrowed from my pool (optional operation).
getNumActive() - method in class org.apache.commons.pool.impl.StackKeyedObjectPool
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.impl.StackObjectPool
Return the number of instances currently borrowed from my pool (optional operation).
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
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.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
Returns the number of instances currently borrowed from but not yet returned to my pool corresponding to the given key (optional operation).
getNumIdle() - method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
getNumIdle() - method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
getNumIdle() - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the total number of instances currently idle in my pool (optional operation).
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
Returns the total number of instances currently idle in my pool (optional operation).
getNumIdle() - method in class org.apache.commons.pool.impl.StackObjectPool
Return the number of instances currently idle in my pool (optional operation).
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
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.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
Returns the number of instances corresponding to the given key currently idle in my 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 number of objects to examine during each run of the idle object evictor thread (if any).
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
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.StackObjectPool
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,Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
invalidateObject(Object,Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
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.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
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.

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.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.

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
Return an instance to my pool.
returnObject(Object) - method in class org.apache.commons.pool.impl.StackObjectPool
Return an instance to my pool.
returnObject(Object,Object) - method in class org.apache.commons.pool.BaseKeyedObjectPool
returnObject(Object,Object) - method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Return an instance to my pool.
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
Return an instance to my pool.

S

Sets my configuration.
Sets my configuration.
Not supported in this base implementation.
Sets the factory I use to create new instances (optional operation).
Sets the factory I use to create new instances (optional operation).
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).
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
Sets the factory I use to create new instances (optional operation).
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.
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.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 number of objects to examine during each run of the idle object evictor thread (if any).
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).
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

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 31 2006.