- activateObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
-
No-op.
- activateObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
-
No-op.
- activateObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
-
Reinitialize an instance to be returned by the pool.
- activateObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
-
Reinitialize an instance to be returned by the pool.
- adapt(KeyedPoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt a KeyedPoolableObjectFactory
instance to work where a PoolableObjectFactory
is
needed.
- adapt(KeyedPoolableObjectFactory, Object) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt a KeyedPoolableObjectFactory
instance to work where a PoolableObjectFactory
is
needed using the specified key
when delegating.
- adapt(PoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt a PoolableObjectFactory
instance to work where a KeyedPoolableObjectFactory
is
needed.
- adapt(KeyedObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt a KeyedObjectPool
instance to work where an ObjectPool
is needed.
- adapt(KeyedObjectPool, Object) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt a KeyedObjectPool
instance to work where an ObjectPool
is needed using the
specified key
when delegating.
- adapt(ObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
-
Adapt an ObjectPool
to work where an KeyedObjectPool
is needed.
- addObject(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- addObject() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- addObject(Object) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- addObject() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Create an object, and place it into the pool.
- addObject() - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
Create an object, and place it into the pool.
- addObject(Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- addObject() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
Create an object, and place it into the pool.
- addObject(Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
- addObject() - Method in interface org.apache.commons.pool.ObjectPool
-
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
- checkedPool(ObjectPool, Class) - Static method in class org.apache.commons.pool.PoolUtils
-
Wraps an ObjectPool
and dynamically checks the type of objects borrowed and returned to the keyedPool.
- checkedPool(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.
- checkMinIdle(ObjectPool, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for the keyedPool.
- checkMinIdle(KeyedObjectPool, Object, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for the key in the keyedPool.
- checkMinIdle(KeyedObjectPool, Collection, int, long) - Static method in class org.apache.commons.pool.PoolUtils
-
Periodically check the idle object count for each key in the Collection
keys
in the keyedPool.
- clear() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- clear(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- clear() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- clear() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- clear(Object) - 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.impl.SoftReferenceObjectPool
-
- clear() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- clear(Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- clear() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- clear() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Clears my pool, removing all pooled instances
(optional operation).
- clear(Object) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Clears the specified pool, removing all
pooled instances corresponding to
the given key (optional operation).
- clear() - Method in interface org.apache.commons.pool.ObjectPool
-
Clears any objects sitting idle in the pool, releasing any
associated resources (optional operation).
- clearOldest() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
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() - 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.impl.SoftReferenceObjectPool
-
- close() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- close() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- close() - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Close this pool, and free any resources associated with it.
- close() - Method in interface org.apache.commons.pool.ObjectPool
-
Close this pool, and free any resources associated with it.
- createPool() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- createPool() - Method in class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- createPool() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPoolFactory
-
- createPool() - Method in class org.apache.commons.pool.impl.StackObjectPoolFactory
-
- createPool() - Method in interface org.apache.commons.pool.KeyedObjectPoolFactory
-
- createPool() - Method in interface org.apache.commons.pool.ObjectPoolFactory
-
- 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_TOTAL - Static variable 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 variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- DEFAULT_MAX_WAIT - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_MIN_IDLE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default minimum level of idle objects in the pool.
- DEFAULT_MIN_IDLE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default minimum number of "sleeping" instances in the pool
before before the evictor thread (if active) spawns new objects.
- DEFAULT_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default number of objects to examine per run in the
idle object evictor.
- DEFAULT_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default number of objects to examine per run in the
idle object evictor.
- DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
- DEFAULT_TEST_ON_BORROW - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test on borrow" value.
- DEFAULT_TEST_ON_BORROW - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test on borrow" value.
- DEFAULT_TEST_ON_RETURN - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test on return" value.
- DEFAULT_TEST_ON_RETURN - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test on return" value.
- DEFAULT_TEST_WHILE_IDLE - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "test while idle" value.
- DEFAULT_TEST_WHILE_IDLE - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "test while idle" value.
- DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "time between eviction runs" value.
- DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "time between eviction runs" value.
- DEFAULT_WHEN_EXHAUSTED_ACTION - Static variable in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
The default "when exhausted action" for the pool.
- DEFAULT_WHEN_EXHAUSTED_ACTION - Static variable in class org.apache.commons.pool.impl.GenericObjectPool
-
The default "when exhausted action" for the pool.
- destroyObject(Object, Object) - Method in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
-
No-op.
- destroyObject(Object) - Method in class org.apache.commons.pool.BasePoolableObjectFactory
-
No-op.
- destroyObject(Object, Object) - Method in interface org.apache.commons.pool.KeyedPoolableObjectFactory
-
Destroy an instance no longer needed by the pool.
- destroyObject(Object) - Method in interface org.apache.commons.pool.PoolableObjectFactory
-
Destroys an instance no longer needed by the pool.
- GenericKeyedObjectPool - Class in org.apache.commons.pool.impl
-
- GenericKeyedObjectPool() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool..
- GenericKeyedObjectPool(KeyedPoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, GenericKeyedObjectPool.Config) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int, boolean, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool(KeyedPoolableObjectFactory, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
Create a new GenericKeyedObjectPool using the specified values.
- GenericKeyedObjectPool.Config - Class in org.apache.commons.pool.impl
-
- GenericKeyedObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
-
- GenericKeyedObjectPoolFactory - Class in org.apache.commons.pool.impl
-
- 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, 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
-
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory, int, byte, long, int, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
-
- GenericObjectPool - Class in org.apache.commons.pool.impl
-
- GenericObjectPool() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool.
- 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.
- GenericObjectPool(PoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool(PoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPool
-
Create a new GenericObjectPool using the specified values.
- GenericObjectPool.Config - Class in org.apache.commons.pool.impl
-
A simple "struct" encapsulating the
configuration information for a
GenericObjectPool
.
- GenericObjectPool.Config() - Constructor for class org.apache.commons.pool.impl.GenericObjectPool.Config
-
- GenericObjectPoolFactory - Class in org.apache.commons.pool.impl
-
- 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
-
- GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- GenericObjectPoolFactory(PoolableObjectFactory, int, byte, long, int, int, boolean, boolean, long, int, long, boolean, long) - Constructor for class org.apache.commons.pool.impl.GenericObjectPoolFactory
-
- 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
-
- getMaxWait() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- 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(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- getNumActive() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getNumActive(Object) - 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.impl.SoftReferenceObjectPool
-
- getNumActive() - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getNumActive(Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getNumActive() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- 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() - 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).
- getNumIdle(Object) - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- getNumIdle() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getNumIdle(Object) - 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.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(Object) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- getNumIdle() - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- 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() - 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).
- 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
-
- getTestOnBorrow() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- getTestOnReturn() - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- 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
-
- 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).
- 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 class org.apache.commons.pool.BaseKeyedObjectPool
-
Not supported in this base implementation.
- setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.BaseObjectPool
-
Not supported in this base implementation.
- setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.SoftReferenceObjectPool
-
- setFactory(KeyedPoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackKeyedObjectPool
-
- setFactory(PoolableObjectFactory) - Method in class org.apache.commons.pool.impl.StackObjectPool
-
- setFactory(KeyedPoolableObjectFactory) - Method in interface org.apache.commons.pool.KeyedObjectPool
-
Sets the
factory
I use
to create new instances (optional operation).
- setFactory(PoolableObjectFactory) - Method in interface org.apache.commons.pool.ObjectPool
-
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 if non-positive.
- setMaxWait(long) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setMaxWait(long) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- 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
-
- setTestOnBorrow(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericKeyedObjectPool
-
- setTestOnReturn(boolean) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
- 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
-
- setWhenExhaustedAction(byte) - Method in class org.apache.commons.pool.impl.GenericObjectPool
-
Sets the action to take when the
GenericObjectPool.borrowObject()
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
- softMinEvictableIdleTimeMillis - Variable in class org.apache.commons.pool.impl.GenericObjectPool.Config
-
- SoftReferenceObjectPool - Class in org.apache.commons.pool.impl
-
- 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 in org.apache.commons.pool.impl
-
- StackKeyedObjectPool() - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using
no factory.
- StackKeyedObjectPool(int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using
no factory.
- StackKeyedObjectPool(int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new pool using
no factory.
- StackKeyedObjectPool(KeyedPoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
- StackKeyedObjectPool(KeyedPoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
- StackKeyedObjectPool(KeyedPoolableObjectFactory, int, int) - Constructor for class org.apache.commons.pool.impl.StackKeyedObjectPool
-
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
- StackKeyedObjectPoolFactory - Class in org.apache.commons.pool.impl
-
- 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 in org.apache.commons.pool.impl
-
- StackObjectPool() - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new pool using
no factory.
- StackObjectPool(int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new pool using
no factory.
- StackObjectPool(int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new pool using
no factory.
- StackObjectPool(PoolableObjectFactory) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new StackObjectPool using
the specified factory to create new instances.
- StackObjectPool(PoolableObjectFactory, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new SimpleObjectPool using
the specified factory to create new instances,
capping the number of "sleeping" instances to max.
- StackObjectPool(PoolableObjectFactory, int, int) - Constructor for class org.apache.commons.pool.impl.StackObjectPool
-
Create a new SimpleObjectPool using
the specified factory to create new instances,
capping the number of "sleeping" instances to max,
and initially allocating a container capable of containing
at least init instances.
- StackObjectPoolFactory - Class in org.apache.commons.pool.impl
-
- 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
-
- synchronizedPool(ObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
- synchronizedPool(KeyedObjectPool) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
- synchronizedPoolableFactory(PoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
- synchronizedPoolableFactory(KeyedPoolableObjectFactory) - Static method in class org.apache.commons.pool.PoolUtils
-
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.