A B C D G 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 interface org.apache.commons.pool.PoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Reinitialize an instance to be returned by the pool.
activateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.

B

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

C

clear() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
clear() - Method in interface org.apache.commons.pool.KeyedObjectPool
Clears my pool, removing all pooled instances (optional operation).
clear() - Method in interface org.apache.commons.pool.ObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
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.StackObjectPool
 
clear() - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
clear() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
clear() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
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(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.impl.StackKeyedObjectPool
 
close() - Method in class org.apache.commons.pool.BaseObjectPool
Does nothing this base implementation.
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.
close() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Does nothing this base implementation.
close() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
 
close() - Method in class org.apache.commons.pool.impl.StackObjectPool
 
close() - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
close() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
close() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
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.
createPool() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
createPool() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
 
createPool() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
createPool() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
 

D

DEFAULT_MAX_ACTIVE - Static variable 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 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 in the pool (per key).
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_WAIT - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
The default maximum amount of time (in millis) 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 millis) 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_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_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) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
destroyObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Destroys an instance no longer needed by the pool.
destroyObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Destroy an instance no longer needed by the pool.
destroyObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.

G

GenericKeyedObjectPool - class org.apache.commons.pool.impl.GenericKeyedObjectPool.
A configurable KeyedObjectPool implementation.
GenericKeyedObjectPool.Config - class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config.
A simple "struct" encapsulating the configuration information for a GenericKeyedObjectPool.
GenericKeyedObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
 
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.
GenericKeyedObjectPoolFactory - class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory.
A factory for creating GenericKeyedObjectPool instances.
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
 
GenericObjectPool - class org.apache.commons.pool.impl.GenericObjectPool.
A configurable ObjectPool implementation.
GenericObjectPool.Config - class org.apache.commons.pool.impl.GenericObjectPool.Config.
A simple "struct" encapsulating the configuration information for a GenericObjectPool.
GenericObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool.Config
 
GenericObjectPool(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
Create a new GenericObjectPool using the specified values.
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.
GenericObjectPoolFactory - class org.apache.commons.pool.impl.GenericObjectPoolFactory.
A factory for creating GenericObjectPool instances.
GenericObjectPoolFactory(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, GenericObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
 
getMaxActive() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Returns the cap on the total number of active instances from my pool.
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.
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 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).
getNumActive() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
getNumActive() - Method in interface 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 interface 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.BaseKeyedObjectPool
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.StackObjectPool
 
getNumActive() - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
getNumActive() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
getNumActive() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
getNumActive(Object) - Method in interface 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.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.impl.StackKeyedObjectPool
 
getNumIdle() - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
getNumIdle() - Method in interface org.apache.commons.pool.KeyedObjectPool
Returns the total number of instances currently idle in my pool (optional operation).
getNumIdle() - Method in interface 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.BaseKeyedObjectPool
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.StackObjectPool
 
getNumIdle() - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
getNumIdle() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
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(Object) - Method in interface 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.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.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 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 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).

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
 
makeObject() - Method in interface org.apache.commons.pool.PoolableObjectFactory
Creates an instance that can be returned by the pool.
makeObject(Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Create an instance that can be served by the pool.
makeObject(Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
 
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
 
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
 

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 org.apache.commons.pool.ObjectPool.
A pooling interface.
ObjectPoolFactory - interface org.apache.commons.pool.ObjectPoolFactory.
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) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
No-op.
passivateObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
Uninitialize an instance to be returned to the pool.
passivateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Uninitialize an instance to be returned to the pool.
passivateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
No-op.
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
 
returnObject(Object) - Method in interface org.apache.commons.pool.ObjectPool
Return an instance to my pool.
returnObject(Object) - Method in class org.apache.commons.pool.impl.StackObjectPool
 
returnObject(Object) - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
returnObject(Object) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
returnObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
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
 
returnObject(Object, Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 

S

setConfig(GenericKeyedObjectPool.Config) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Sets my configuration.
setConfig(GenericObjectPool.Config) - Method in class org.apache.commons.pool.impl.GenericObjectPool
Sets my configuration.
setFactory(KeyedPoolableObjectFactory) - Method in interface org.apache.commons.pool.KeyedObjectPool
Sets the factory I use to create new instances (optional operation).
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
Not supported in this base implementation.
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
 
setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
 
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.BaseObjectPool
Not supported in this base implementation.
setFactory(PoolableObjectFactory) - Method in interface org.apache.commons.pool.ObjectPool
Sets the factory I use to create new instances (optional operation).
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackObjectPool
 
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericObjectPool
 
setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
setMaxActive(int) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
Sets the cap on the total number of active instances from my pool.
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.
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 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).
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 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).
SoftReferenceObjectPool - class org.apache.commons.pool.impl.SoftReferenceObjectPool.
A SoftReference based ObjectPool.
SoftReferenceObjectPool() - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
SoftReferenceObjectPool(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.SoftReferenceObjectPool
 
SoftReferenceObjectPool(PoolableObjectFactory, int) - 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.
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 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
 
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
 
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory, 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(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 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
 
StackObjectPoolFactory(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
 
StackObjectPoolFactory(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
 
StackObjectPoolFactory(PoolableObjectFactory, int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPoolFactory
 

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

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
 

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

Copyright © 2001-2002 Apache Software Foundation. Documenation generated February 22 2003.