A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes All Packages

A

ABANDONED - org.apache.commons.pool2.DestroyMode
Destroy abandoned object.
ABANDONED - org.apache.commons.pool2.PooledObjectState
Deemed abandoned, to be invalidated.
abandonedConfig - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Additional configuration properties for abandoned object tracking.
AbandonedConfig - Class in org.apache.commons.pool2.impl
Configuration settings for abandoned object removal.
AbandonedConfig() - Constructor for class org.apache.commons.pool2.impl.AbandonedConfig
Creates a new instance.
AbandonedConfig(AbandonedConfig) - Constructor for class org.apache.commons.pool2.impl.AbandonedConfig
Creates a new instance with values from the given instance.
AbstractItr() - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
Constructs a new iterator.
activateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Reinitializes an instance to be returned by the pool.
activateObject(K, PooledObject<V>) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Reinitializes an instance to be returned by the pool.
activateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Reinitializes an instance to be returned by the pool.
activateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.BasePooledObjectFactory
No-op.
activateObject(PooledObject<T>) - Method in interface org.apache.commons.pool2.PooledObjectFactory
Reinitializes an instance to be returned by the pool.
activateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Reinitializes an instance to be returned by the pool.
activeTimes - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
add(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
Adds a value to the cache.
add(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
add(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
addFirst(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
addIdleObject(K, PooledObject<T>) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Add an object to the set of idle objects for a given key.
addIdleObject(PooledObject<T>) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Adds the provided wrapped pooled object to the set of idle objects for this pool.
addLast(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
addObject() - Method in class org.apache.commons.pool2.BaseObjectPool
Not supported in this base implementation.
addObject() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Creates an object, and places it into the pool.
addObject() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Creates an object, and places it into the pool.
addObject() - Method in interface org.apache.commons.pool2.ObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
addObject(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Create an object using the factory, passivate it, and then place it in the idle object pool.
addObject(K) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Creates an object using the factory or other implementation dependent mechanism, passivate it, and then place it in the idle object pool.
addObject(K) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
addObjects(int) - Method in interface org.apache.commons.pool2.ObjectPool
Calls ObjectPool.addObject() count number of times.
addObjects(Collection<K>, int) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Calls KeyedObjectPool.addObject(Object) with each key in keys for count number of times.
addObjects(K, int) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Calls KeyedObjectPool.addObject(Object) key count number of times.
advance() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
Advances next.
allObjects - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
allObjects - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
allocate() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Allocates the object.
allocate() - Method in interface org.apache.commons.pool2.PooledObject
Allocates the object.
ALLOCATED - org.apache.commons.pool2.PooledObjectState
In use.
allReferences - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
All references - checked out or waiting to be borrowed.
appendStats(String) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Appends statistics if enabled.
assertOpen() - Method in class org.apache.commons.pool2.BaseObjectPool
Throws an IllegalStateException when this pool has been closed.
assertOpen() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Verifies that the pool is open.

B

BaseGenericObjectPool<T> - Class in org.apache.commons.pool2.impl
Base class that provides common functionality for GenericObjectPool and GenericKeyedObjectPool.
BaseGenericObjectPool(BaseObjectPoolConfig<T>, String, String) - Constructor for class org.apache.commons.pool2.impl.BaseGenericObjectPool
Handles JMX registration (if required) and the initialization required for monitoring.
BaseGenericObjectPool.EvictionIterator - Class in org.apache.commons.pool2.impl
The idle object eviction iterator.
BaseGenericObjectPool.Evictor - Class in org.apache.commons.pool2.impl
The idle object evictor TimerTask.
BaseGenericObjectPool.IdentityWrapper<T> - Class in org.apache.commons.pool2.impl
Wrapper for objects under management by the pool.
BaseGenericObjectPool.StatsStore - Class in org.apache.commons.pool2.impl
Maintains a cache of values for a single metric and reports statistics on the cached values.
BaseKeyedPooledObjectFactory<K,​V> - Class in org.apache.commons.pool2
A base implementation of KeyedPooledObjectFactory.
BaseKeyedPooledObjectFactory() - Constructor for class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Constructs a new instance.
BaseObject - Class in org.apache.commons.pool2
A base class for common functionality.
BaseObject() - Constructor for class org.apache.commons.pool2.BaseObject
Constructs a new instance.
BaseObjectPool<T> - Class in org.apache.commons.pool2
A simple base implementation of ObjectPool.
BaseObjectPool() - Constructor for class org.apache.commons.pool2.BaseObjectPool
Constructs a new instance.
BaseObjectPoolConfig<T> - Class in org.apache.commons.pool2.impl
Provides the implementation for the common attributes shared by the sub-classes.
BaseObjectPoolConfig() - Constructor for class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Constructs a new instance.
BasePooledObjectFactory<T> - Class in org.apache.commons.pool2
A base implementation of PoolableObjectFactory.
BasePooledObjectFactory() - Constructor for class org.apache.commons.pool2.BasePooledObjectFactory
Constructs a new instance.
BaseProxyHandler<T> - Class in org.apache.commons.pool2.proxy
Base implementation for object wrappers when using a ProxiedObjectPool.
BaseProxyHandler(T, UsageTracking<T>) - Constructor for class org.apache.commons.pool2.proxy.BaseProxyHandler
Constructs a new wrapper for the given pooled object.
blockWhenExhausted - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
blockWhenExhausted - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
borrowedBy - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
borrowedCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
borrowedCount - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
borrowObject() - Method in class org.apache.commons.pool2.BaseObjectPool
 
borrowObject() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
borrowObject() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Borrows an object from the pool.
borrowObject() - Method in interface org.apache.commons.pool2.ObjectPool
Borrows an instance from this pool.
borrowObject() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Borrows an instance from this pool.
borrowObject() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Borrows an instance from this pool.
borrowObject() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
borrowObject(long) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
borrowObject(Duration) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Borrows an object from the pool using the specific waiting time which only applies if BaseGenericObjectPool.getBlockWhenExhausted() is true.
borrowObject(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
borrowObject(K) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Borrows an instance from this pool for the specified key.
borrowObject(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Borrows an instance from this pool for the specified key.
borrowObject(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Borrows an instance from this pool for the specified key.
borrowObject(K) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
borrowObject(K, long) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Borrows an object from the sub-pool associated with the given key using the specified waiting time which only applies if BaseGenericObjectPool.getBlockWhenExhausted() is true.
borrowObject(K, Duration) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Borrows an object from the sub-pool associated with the given key using the specified waiting time which only applies if BaseGenericObjectPool.getBlockWhenExhausted() is true.

C

calculateDeficit(GenericKeyedObjectPool.ObjectDeque<T>) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Calculate the number of objects that need to be created to attempt to maintain the minimum number of idle objects while not exceeded the limits on the maximum number of objects either per key or totally.
CallStack - Interface in org.apache.commons.pool2.impl
Strategy for obtaining and printing the current call stack.
CallStackUtils - Class in org.apache.commons.pool2.impl
Utility methods for CallStack.
CallStackUtils() - Constructor for class org.apache.commons.pool2.impl.CallStackUtils
Hidden constructor.
cancel() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
Cancels the scheduled future.
cancel(BaseGenericObjectPool.Evictor, Duration, boolean) - Static method in class org.apache.commons.pool2.impl.EvictionTimer
Removes the specified eviction task from the timer.
canCreateSecurityManager() - Static method in class org.apache.commons.pool2.impl.CallStackUtils
Tests whether the caller can create a security manager in the current environment.
capacity - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Maximum number of items in the deque
CglibProxyHandler<T> - Class in org.apache.commons.pool2.proxy
cglib is unmaintained and does not work well (or possibly at all?) in newer JDKs, particularly JDK17+; see https://github.com/cglib/cglib
CglibProxyHandler(T, UsageTracking<T>) - Constructor for class org.apache.commons.pool2.proxy.CglibProxyHandler
Constructs a CGLib proxy instance.
CglibProxySource<T> - Class in org.apache.commons.pool2.proxy
cglib is unmaintained and does not work well (or possibly at all?) in newer JDKs, particularly JDK17+; see https://github.com/cglib/cglib
CglibProxySource(Class<? extends T>) - Constructor for class org.apache.commons.pool2.proxy.CglibProxySource
Constructs a new proxy source for the given class.
checkMinIdle(KeyedObjectPool<K, V>, Collection<K>, int, long) - Static method in class org.apache.commons.pool2.PoolUtils
Periodically check the idle object count for each key in the Collection keys in the keyedPool.
checkMinIdle(KeyedObjectPool<K, V>, K, int, long) - Static method in class org.apache.commons.pool2.PoolUtils
Periodically check the idle object count for the key in the keyedPool.
checkMinIdle(ObjectPool<T>, int, long) - Static method in class org.apache.commons.pool2.PoolUtils
Periodically check the idle object count for the pool.
checkRethrow(Throwable) - Static method in class org.apache.commons.pool2.PoolUtils
Should the supplied Throwable be re-thrown (eg if it is an instance of one of the Throwables that should never be swallowed).
classLoader - Variable in class org.apache.commons.pool2.proxy.JdkProxySource
 
clear() - Method in class org.apache.commons.pool2.BaseObjectPool
Not supported in this base implementation.
clear() - Method in interface org.apache.commons.pool2.impl.CallStack
Clears the current stack trace snapshot.
clear() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Clears any objects sitting idle in the pool by removing them from the idle instance sub-pools and then invoking the configured PoolableObjectFactory's KeyedPooledObjectFactory.destroyObject(Object, PooledObject) method on each idle instance.
clear() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Clears any objects sitting idle in the pool by removing them from the idle instance pool and then invoking the configured PooledObjectFactory.destroyObject(PooledObject) method on each idle instance.
clear() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Atomically removes all of the elements from this deque.
clear() - Method in class org.apache.commons.pool2.impl.NoOpCallStack
 
clear() - Method in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
clear() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Clears any objects sitting idle in the pool.
clear() - Method in class org.apache.commons.pool2.impl.ThrowableCallStack
 
clear() - Method in interface org.apache.commons.pool2.KeyedObjectPool
Clears the pool, removing all pooled instances (optional operation).
clear() - Method in interface org.apache.commons.pool2.ObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Clears the pool, removing all pooled instances (optional operation).
clear() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Clears the pool, removing all pooled instances (optional operation).
clear() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Clears any objects sitting idle in the pool, releasing any associated resources (optional operation).
clear() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
clear() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
clear(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Clears the specified sub-pool, removing all pooled instances corresponding to the given key.
clear(K) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
clear(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
clear(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key (optional operation).
clear(K) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
clear(K, boolean) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Clears the specified sub-pool, removing all pooled instances corresponding to the given key.
clearOldest() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Clears oldest 15% of objects in pool.
clone() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
clone() - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
 
close() - Method in class org.apache.commons.pool2.BaseObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Closes the pool, destroys the remaining idle objects and, if registered in JMX, deregisters it.
close() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Closes the keyed object pool.
close() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Closes the pool.
close() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Closes this pool, and frees any resources associated with it.
close() - Method in interface org.apache.commons.pool2.KeyedObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in interface org.apache.commons.pool2.ObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Closes this pool, and free any resources associated with it.
close() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
close() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
closed - Variable in class org.apache.commons.pool2.BaseObjectPool
 
closed - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
closeLock - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
collectDetailedStatistics - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
collectDetailedStatistics - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
compareTo(PooledObject<T>) - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
compareTo(PooledObject<T>) - Method in interface org.apache.commons.pool2.PooledObject
Orders instances based on idle time - i.e.
contains(Object) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns true if this deque contains the specified element.
copy(AbandonedConfig) - Static method in class org.apache.commons.pool2.impl.AbandonedConfig
Creates a new instance with values from the given instance.
count - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Number of items in the deque
create() - Method in class org.apache.commons.pool2.BasePooledObjectFactory
Creates an object instance, to be wrapped in a PooledObject.
create(Duration) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Attempts to create a new wrapped pooled object.
create(K) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Creates an instance that can be served by the pool.
create(K, Duration) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Creates a new pooled object or null.
createCount - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
createCount - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
createCount - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Total number of instances that have been created
createdCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
createInstant - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
createProxy(T, UsageTracking<T>) - Method in class org.apache.commons.pool2.proxy.CglibProxySource
 
createProxy(T, UsageTracking<T>) - Method in class org.apache.commons.pool2.proxy.JdkProxySource
 
createProxy(T, UsageTracking<T>) - Method in interface org.apache.commons.pool2.proxy.ProxySource
Creates a new proxy object, wrapping the given pooled object.
createRemoveList(AbandonedConfig, Map<BaseGenericObjectPool.IdentityWrapper<T>, PooledObject<T>>) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Creates a list of pooled objects to remove based on their state.
creationStackTrace - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 

D

dateFormat - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
dateFormat - Variable in class org.apache.commons.pool2.impl.ThrowableCallStack
 
deallocate() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Deallocates the object and sets it IDLE if it is currently ALLOCATED or RETURNING.
deallocate() - Method in interface org.apache.commons.pool2.PooledObject
Deallocates the object and sets it IDLE if it is currently ALLOCATED.
DEFAULT_BLOCK_WHEN_EXHAUSTED - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the blockWhenExhausted configuration attribute: true.
DEFAULT_COLLECT_DETAILED_STATISTICS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the collectDetailedStatistics configuration attribute.
DEFAULT_DURATION_BETWEEN_EVICTION_RUNS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the timeBetweenEvictionRuns configuration attribute.
DEFAULT_EVICTION_POLICY_CLASS_NAME - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the evictionPolicyClassName configuration attribute.
DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for evictorShutdownTimeout configuration attribute.
DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT_MILLIS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_FAIRNESS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the fairness configuration attribute: false.
DEFAULT_JMX_ENABLE - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for enabling JMX for pools created with a configuration instance: true.
DEFAULT_JMX_NAME_BASE - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the base name to use to name JMX enabled pools created with a configuration instance.
DEFAULT_JMX_NAME_PREFIX - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the prefix used to name JMX enabled pools created with a configuration instance: "pool".
DEFAULT_LIFO - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the lifo configuration attribute: true.
DEFAULT_MAX_IDLE - Static variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
The default value for the maxIdle configuration attribute: 8.
DEFAULT_MAX_IDLE_PER_KEY - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the maxIdlePerKey configuration attribute: 8.
DEFAULT_MAX_TOTAL - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the maxTotal configuration attribute: -1.
DEFAULT_MAX_TOTAL - Static variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
The default value for the maxTotal configuration attribute: 8.
DEFAULT_MAX_TOTAL_PER_KEY - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the maxTotalPerKey configuration attribute: 8.
DEFAULT_MAX_WAIT - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the maxWait configuration attribute.
DEFAULT_MAX_WAIT_MILLIS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_MIN_EVICTABLE_IDLE_DURATION - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the minEvictableIdleDuration configuration attribute.
DEFAULT_MIN_EVICTABLE_IDLE_TIME - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_MIN_IDLE - Static variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
The default value for the minIdle configuration attribute: 0.
DEFAULT_MIN_IDLE_PER_KEY - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the minIdlePerKey configuration attribute: 0.
DEFAULT_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the numTestsPerEvictionRun configuration attribute: 3.
DEFAULT_REMOVE_ABANDONED_TIMEOUT - Static variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
DEFAULT_REMOVE_ABANDONED_TIMEOUT_DURATION - Static variable in class org.apache.commons.pool2.impl.AbandonedConfig
The 5 minutes Duration.
DEFAULT_REUSE_CAPACITY_ON_MAINTENANCE - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the reuseCapacityOnMaintenance configuration attribute: false.
DEFAULT_REUSE_CAPACITY_ON_RETURN - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
The default value for the reuseCapacityOnReturn configuration attribute: true.
DEFAULT_SOFT_MIN_EVICTABLE_IDLE_DURATION - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the softMinEvictableIdleTime configuration attribute.
DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_TEST_ON_BORROW - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the testOnBorrow configuration attribute: false.
DEFAULT_TEST_ON_CREATE - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the testOnCreate configuration attribute: false.
DEFAULT_TEST_ON_RETURN - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the testOnReturn configuration attribute: false.
DEFAULT_TEST_WHILE_IDLE - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
The default value for the testWhileIdle configuration attribute: false.
DEFAULT_TIME_BETWEEN_EVICTION_RUNS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
DefaultEvictionPolicy<T> - Class in org.apache.commons.pool2.impl
Provides the default implementation of EvictionPolicy used by the pools.
DefaultEvictionPolicy() - Constructor for class org.apache.commons.pool2.impl.DefaultEvictionPolicy
Constructs a new instance.
DefaultPooledObject<T> - Class in org.apache.commons.pool2.impl
This wrapper is used to track the additional information, such as state, for the pooled objects.
DefaultPooledObject(T) - Constructor for class org.apache.commons.pool2.impl.DefaultPooledObject
Creates a new instance that wraps the provided object so that the pool can track the state of the pooled object.
DefaultPooledObjectInfo - Class in org.apache.commons.pool2.impl
Implements providing information on pooled objects via JMX.
DefaultPooledObjectInfo(PooledObject<?>) - Constructor for class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
Constructs a new instance for the given pooled object.
DefaultPooledObjectInfoMBean - Interface in org.apache.commons.pool2.impl
The interface that defines the information about pooled objects that will be exposed via JMX.
deregister(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
De-register the use of a key by an object.
descendingIterator() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
DescendingItr() - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque.DescendingItr
 
destroy(K, PooledObject<T>, boolean, DestroyMode) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Destroy the wrapped, pooled object.
destroy(PooledSoftReference<T>) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Destroys a PooledSoftReference and removes it from the idle and all references pools.
destroy(PooledObject<T>, DestroyMode) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Destroys a wrapped pooled object.
destroyCount - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Total number of instances that have been destroyed
destroyedByBorrowValidationCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
destroyedByEvictorCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
destroyedCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
DestroyMode - Enum in org.apache.commons.pool2
Destroy context provided to object factories via destroyObject and invalidateObject methods.
DestroyMode() - Constructor for enum org.apache.commons.pool2.DestroyMode
 
destroyObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Destroys an instance no longer needed by the pool.
destroyObject(K, PooledObject<V>) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Destroys an instance no longer needed by the pool.
destroyObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Destroys an instance no longer needed by the pool.
destroyObject(K, PooledObject<V>, DestroyMode) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Destroys an instance no longer needed by the pool, using the provided DestroyMode.
destroyObject(PooledObject<T>) - Method in class org.apache.commons.pool2.BasePooledObjectFactory
No-op.
destroyObject(PooledObject<T>) - Method in interface org.apache.commons.pool2.PooledObjectFactory
Destroys an instance no longer needed by the pool, using the default (NORMAL) DestroyMode.
destroyObject(PooledObject<T>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Destroys an instance no longer needed by the pool, using the default (NORMAL) DestroyMode.
destroyObject(PooledObject<T>, DestroyMode) - Method in interface org.apache.commons.pool2.PooledObjectFactory
Destroys an instance no longer needed by the pool, using the provided DestroyMode.
disableProxy() - Method in class org.apache.commons.pool2.proxy.BaseProxyHandler
Disable the proxy wrapper.
doInvoke(Method, Object[]) - Method in class org.apache.commons.pool2.proxy.BaseProxyHandler
Invoke the given method on the wrapped object.
drainTo(Collection<? super E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Drains the queue to the specified collection.
drainTo(Collection<? super E>, int) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Drains no more than the specified number of elements from the queue to the specified collection.
durationBetweenEvictionRuns - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
durationBetweenEvictionRuns - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
durationSince(Instant) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Returns the duration since the given start time.

E

element() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Retrieves, but does not remove, the head of the queue represented by this deque.
endEvictionTest(Deque<PooledObject<T>>) - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
endEvictionTest(Deque<PooledObject<T>>) - Method in interface org.apache.commons.pool2.PooledObject
Notifies the object that the eviction test has ended.
ensureIdle(int, boolean) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Tries to ensure that idleCount idle instances exist in the pool.
ensureMinIdle() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Tries to ensure that the configured minimum number of idle instances are available in the pool.
ensureMinIdle() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
ensureMinIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
ensureMinIdle(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Try to ensure that the configured number of minimum idle objects is available in the pool for the given key.
equals(Object) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
 
equals(Object) - Method in interface org.apache.commons.pool2.PooledObject
 
erodingFactor - Variable in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Erosion factor
ErodingFactor(float) - Constructor for class org.apache.commons.pool2.PoolUtils.ErodingFactor
Creates a new ErodingFactor with the given erosion factor.
ErodingKeyedObjectPool(KeyedObjectPool<K, V>, float) - Constructor for class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.
ErodingKeyedObjectPool(KeyedObjectPool<K, V>, PoolUtils.ErodingFactor) - Constructor for class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.
ErodingObjectPool(ObjectPool<T>, float) - Constructor for class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.
ErodingPerKeyKeyedObjectPool(KeyedObjectPool<K, V>, float) - Constructor for class org.apache.commons.pool2.PoolUtils.ErodingPerKeyKeyedObjectPool
Creates a new ErordingPerKeyKeyedObjectPool decorating the given keyed pool with the specified erosion factor.
erodingPool(KeyedObjectPool<K, V>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a pool that adaptively decreases its size when idle objects are no longer needed.
erodingPool(KeyedObjectPool<K, V>, float) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a pool that adaptively decreases its size when idle objects are no longer needed.
erodingPool(KeyedObjectPool<K, V>, float, boolean) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a pool that adaptively decreases its size when idle objects are no longer needed.
erodingPool(ObjectPool<T>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a pool that adaptively decreases its size when idle objects are no longer needed.
erodingPool(ObjectPool<T>, float) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a pool that adaptively decreases its size when idle objects are no longer needed.
evict() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Perform numTests idle object eviction tests, evicting examined objects that meet the criteria for eviction.
evict() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Perform numTests idle object eviction tests, evicting examined objects that meet the criteria for eviction.
evict() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Perform numTests idle object eviction tests, evicting examined objects that meet the criteria for eviction.
evict(EvictionConfig, PooledObject<T>, int) - Method in class org.apache.commons.pool2.impl.DefaultEvictionPolicy
 
evict(EvictionConfig, PooledObject<T>, int) - Method in interface org.apache.commons.pool2.impl.EvictionPolicy
Tests if an idle object in the pool should be evicted or not.
EVICTION - org.apache.commons.pool2.PooledObjectState
In the queue, currently being tested for possible eviction.
EVICTION_POLICY_TYPE_NAME - Static variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
EVICTION_RETURN_TO_HEAD - org.apache.commons.pool2.PooledObjectState
Not in the queue, currently being tested for possible eviction.
EvictionConfig - Class in org.apache.commons.pool2.impl
This class is used by pool implementations to pass configuration information to EvictionPolicy instances.
EvictionConfig(long, long, int) - Constructor for class org.apache.commons.pool2.impl.EvictionConfig
EvictionConfig(Duration, Duration, int) - Constructor for class org.apache.commons.pool2.impl.EvictionConfig
Creates a new eviction configuration with the specified parameters.
evictionIterator - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
EvictionIterator(Deque<PooledObject<T>>) - Constructor for class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
Constructs an EvictionIterator for the provided idle instance deque.
evictionKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
evictionKeyIterator - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
evictionLock - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
evictionPolicy - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
evictionPolicy - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
EvictionPolicy<T> - Interface in org.apache.commons.pool2.impl
To provide a custom eviction policy (i.e.
evictionPolicyClassName - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
EvictionTimer - Class in org.apache.commons.pool2.impl
Provides a shared idle object eviction timer for all pools.
EvictionTimer() - Constructor for class org.apache.commons.pool2.impl.EvictionTimer
Prevents instantiation
EvictionTimer.EvictorThreadFactory - Class in org.apache.commons.pool2.impl
Thread factory that creates a daemon thread, with the context class loader from this class.
EvictionTimer.Reaper - Class in org.apache.commons.pool2.impl
Task that removes references to abandoned tasks and shuts down the executor if there are no live tasks left.
EvictionTimer.WeakRunner<R extends java.lang.Runnable> - Class in org.apache.commons.pool2.impl
Runnable that runs the referent of a weak reference.
evictor - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
Evictor() - Constructor for class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
 
evictorShutdownTimeoutDuration - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
evictorShutdownTimeoutDuration - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
EvictorThreadFactory() - Constructor for class org.apache.commons.pool2.impl.EvictionTimer.EvictorThreadFactory
 
executor - Static variable in class org.apache.commons.pool2.impl.EvictionTimer
Executor instance

F

factor - Variable in class org.apache.commons.pool2.PoolUtils.ErodingFactor
Determines frequency of "erosion" events
factor - Variable in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Erosion factor
factor - Variable in class org.apache.commons.pool2.PoolUtils.ErodingPerKeyKeyedObjectPool
Erosion factor - same for all pools
factors - Variable in class org.apache.commons.pool2.PoolUtils.ErodingPerKeyKeyedObjectPool
Map of ErodingFactor instances keyed on pool keys
factory - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
factory - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
factory - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Factory to source pooled objects
factory - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Wrapped factory
factoryClassLoader - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Class loader for evictor thread to use since, in a JavaEE or similar environment, the context class loader for the evictor thread may not have visibility of the correct factory.
factoryType - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
fairness - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
fairness - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
fairness - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
fillInStackTrace() - Method in interface org.apache.commons.pool2.impl.CallStack
Takes a snapshot of the current call stack.
fillInStackTrace() - Method in class org.apache.commons.pool2.impl.NoOpCallStack
 
fillInStackTrace() - Method in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
fillInStackTrace() - Method in class org.apache.commons.pool2.impl.ThrowableCallStack
 
findReference(T) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Finds the PooledSoftReference in allReferences that points to obj.
first - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Pointer to first node.
firstNode() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
Obtain the first node to be returned by the iterator.
firstNode() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.DescendingItr
 
firstNode() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.Itr
 

G

GenericKeyedObjectPool<K,​T> - Class in org.apache.commons.pool2.impl
A configurable KeyedObjectPool implementation.
GenericKeyedObjectPool(KeyedPooledObjectFactory<K, T>) - Constructor for class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Constructs a new GenericKeyedObjectPool using defaults from GenericKeyedObjectPoolConfig.
GenericKeyedObjectPool(KeyedPooledObjectFactory<K, T>, GenericKeyedObjectPoolConfig<T>) - Constructor for class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Constructs a new GenericKeyedObjectPool using a specific configuration.
GenericKeyedObjectPool(KeyedPooledObjectFactory<K, T>, GenericKeyedObjectPoolConfig<T>, AbandonedConfig) - Constructor for class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Creates a new GenericKeyedObjectPool that tracks and destroys objects that are checked out, but never returned to the pool.
GenericKeyedObjectPool.ObjectDeque<S> - Class in org.apache.commons.pool2.impl
Maintains information on the per key queue for a given key.
GenericKeyedObjectPoolConfig<T> - Class in org.apache.commons.pool2.impl
A simple structure encapsulating the configuration for a GenericKeyedObjectPool.
GenericKeyedObjectPoolConfig() - Constructor for class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Constructs a new configuration with default settings.
GenericKeyedObjectPoolMXBean<K> - Interface in org.apache.commons.pool2.impl
Defines the methods that will be made available via JMX.
GenericObjectPool<T> - Class in org.apache.commons.pool2.impl
A configurable ObjectPool implementation.
GenericObjectPool(PooledObjectFactory<T>) - Constructor for class org.apache.commons.pool2.impl.GenericObjectPool
Creates a new GenericObjectPool using defaults from GenericObjectPoolConfig.
GenericObjectPool(PooledObjectFactory<T>, GenericObjectPoolConfig<T>) - Constructor for class org.apache.commons.pool2.impl.GenericObjectPool
Creates a new GenericObjectPool using a specific configuration.
GenericObjectPool(PooledObjectFactory<T>, GenericObjectPoolConfig<T>, AbandonedConfig) - Constructor for class org.apache.commons.pool2.impl.GenericObjectPool
Creates a new GenericObjectPool that tracks and destroys objects that are checked out, but never returned to the pool.
GenericObjectPoolConfig<T> - Class in org.apache.commons.pool2.impl
A simple structure encapsulating the configuration for a GenericObjectPool.
GenericObjectPoolConfig() - Constructor for class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Constructs a new instance.
GenericObjectPoolMXBean - Interface in org.apache.commons.pool2.impl
Defines the methods that will be made available via JMX.
getActiveDuration() - Method in interface org.apache.commons.pool2.PooledObject
Gets the amount of time this object last spent in the active state (it may still be active in which case subsequent calls will return an increased value).
getActiveTime() - Method in interface org.apache.commons.pool2.PooledObject
getActiveTimeMillis() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getActiveTimeMillis() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getActiveTime() which offers the best precision.
getAllObjects() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
Gets all the objects for the current key.
getBlockWhenExhausted() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether to block when the borrowObject() method is invoked when the pool is exhausted (the maximum number of "active" objects has been reached).
getBlockWhenExhausted() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the blockWhenExhausted configuration attribute for pools created with this configuration instance.
getBlockWhenExhausted() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getBlockWhenExhausted() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getBorrowedCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects successfully borrowed from this pool over the lifetime of the pool.
getBorrowedCount() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Gets the number of times this object has been borrowed.
getBorrowedCount() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getBorrowedCount() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the number of times this object has been borrowed.
getBorrowedCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getBorrowedCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getBorrowedCount() - Method in interface org.apache.commons.pool2.PooledObject
Gets the number of times this object has been borrowed.
getCallStack() - Method in class org.apache.commons.pool2.impl.SecurityManagerCallStack.PrivateSecurityManager
Gets the class stack.
getCollectDetailedStatistics() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether detailed timing statistics collection is enabled.
getCollectDetailedStatistics() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the collectDetailedStatistics configuration attribute for pools created with this configuration instance.
getCreateCount() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
Gets the number of instances created - number destroyed.
getCreatedCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects created for this pool over the lifetime of the pool.
getCreatedCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getCreatedCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getCreateInstant() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getCreateInstant() - Method in interface org.apache.commons.pool2.PooledObject
Gets the time (using the same basis as Instant.now()) that this object was created.
getCreateTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getCreateTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getCreateTime() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time (using the same basis as Clock.instant()) that pooled object was created.
getCreateTime() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getCreateInstant() which offers the best precision.
getCreateTimeFormatted() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getCreateTimeFormatted() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time that pooled object was created.
getCreationStackTrace() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the stack trace for the call that created this pool.
getCreationStackTrace() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getCreationStackTrace() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getDestroyedByBorrowValidationCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects destroyed by this pool as a result of failing validation during borrowObject() over the lifetime of the pool.
getDestroyedByBorrowValidationCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getDestroyedByBorrowValidationCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getDestroyedByEvictorCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects destroyed by the evictor associated with this pool over the lifetime of the pool.
getDestroyedByEvictorCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getDestroyedByEvictorCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getDestroyedCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects destroyed by this pool over the lifetime of the pool.
getDestroyedCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getDestroyedCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getDurationBetweenEvictionRuns() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the duration to sleep between runs of the idle object evictor thread.
getDurationBetweenEvictionRuns() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the timeBetweenEvictionRuns configuration attribute for pools created with this configuration instance.
getErodingFactor(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the eroding factor for the given key
getErodingFactor(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingPerKeyKeyedObjectPool
Gets the eroding factor for the given key
getEvictionPolicy() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the EvictionPolicy defined for this pool.
getEvictionPolicy() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the evictionPolicyClass configuration attribute for pools created with this configuration instance.
getEvictionPolicyClassName() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the name of the EvictionPolicy implementation that is used by this pool.
getEvictionPolicyClassName() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the evictionPolicyClassName configuration attribute for pools created with this configuration instance.
getEvictorShutdownTimeout() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getEvictorShutdownTimeout() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getEvictorShutdownTimeoutDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the timeout that will be used when waiting for the Evictor to shutdown if this pool is closed and it is the only pool still using the the value for the Evictor.
getEvictorShutdownTimeoutDuration() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the evictorShutdownTimeout configuration attribute for pools created with this configuration instance.
getEvictorShutdownTimeoutMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getEvictorShutdownTimeoutMillis() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getExecutor() - Static method in class org.apache.commons.pool2.impl.EvictionTimer
For testing only.
getFactory() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets a reference to the factory used to create, destroy and validate the objects used by this pool.
getFactory() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Gets a reference to the factory used to create, destroy and validate the objects used by this pool.
getFactory() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Gets the PooledObjectFactory used by this pool to create and manage object instances.
getFactoryType() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Gets the type - including the specific type rather than the generic - of the factory.
getFactoryType() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getFactoryType(Class<? extends PooledObjectFactory>) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Identifies the concrete type of object that an object factory creates.
getFairness() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether or not the pool serves threads waiting to borrow objects fairly.
getFairness() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the fairness configuration attribute for pools created with this configuration instance.
getFairness() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getFairness() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
getFullDuration() - Method in interface org.apache.commons.pool2.PooledObject
Gets the duration since this object was created (using Instant.now()).
getGenericType(Class<T>, Class<? extends T>) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Gets the concrete type used by an implementation of an interface that uses a generic type.
getIdleDuration() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getIdleDuration() - Method in interface org.apache.commons.pool2.PooledObject
Gets the amount of time that this object last spend in the idle state (it may still be idle in which case subsequent calls will return an increased value).
getIdleEvictDuration() - Method in class org.apache.commons.pool2.impl.EvictionConfig
Gets the idleEvictTime for this eviction configuration instance.
getIdleEvictTime() - Method in class org.apache.commons.pool2.impl.EvictionConfig
getIdleEvictTimeDuration() - Method in class org.apache.commons.pool2.impl.EvictionConfig
getIdleObjects() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
Gets the idle object deque referenced by this iterator.
getIdleObjects() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
Gets the idle objects for the current key.
getIdleSoftEvictDuration() - Method in class org.apache.commons.pool2.impl.EvictionConfig
Gets the idleSoftEvictTime for this eviction configuration instance.
getIdleSoftEvictTime() - Method in class org.apache.commons.pool2.impl.EvictionConfig
getIdleSoftEvictTimeDuration() - Method in class org.apache.commons.pool2.impl.EvictionConfig
getIdleTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getIdleTime() - Method in interface org.apache.commons.pool2.PooledObject
getIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getIdleTimeMillis() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getIdleTime() which offers the best precision.
getJmxEnabled() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value of the flag that determines if JMX will be enabled for pools created with this configuration instance.
getJmxName() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the name under which the pool has been registered with the platform MBean server or null if the pool has not been registered.
getJmxNameBase() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value of the JMX name base that will be used as part of the name assigned to JMX enabled pools created with this configuration instance.
getJmxNamePrefix() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value of the JMX name prefix that will be used as part of the name assigned to JMX enabled pools created with this configuration instance.
getKeyedPool() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the underlying pool
getKeys() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets a copy of the pool key list.
getKeys() - Method in interface org.apache.commons.pool2.KeyedObjectPool
Gets a copy of the pool key list.
getKeys() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets a copy of the pool key list.
getKeys() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Gets a copy of the pool key list.
getKeys() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
Gets a copy of the pool key list.
getLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
getLastBorrowInstant() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getLastBorrowInstant() - Method in interface org.apache.commons.pool2.PooledObject
Gets the time the wrapped object was last borrowed.
getLastBorrowTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getLastBorrowTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getLastBorrowTime() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time (using the same basis as Clock.instant()) the polled object was last borrowed.
getLastBorrowTime() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getLastBorrowInstant() which offers the best precision.
getLastBorrowTimeFormatted() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getLastBorrowTimeFormatted() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time that pooled object was last borrowed.
getLastBorrowTrace() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getLastBorrowTrace() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the stack trace recorded when the pooled object was last borrowed.
getLastReturnInstant() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getLastReturnInstant() - Method in interface org.apache.commons.pool2.PooledObject
Gets the time the wrapped object was last borrowed.
getLastReturnTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getLastReturnTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getLastReturnTime() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time (using the same basis as Clock.instant())the wrapped object was last returned.
getLastReturnTime() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getLastReturnInstant() which offers the best precision.
getLastReturnTimeFormatted() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getLastReturnTimeFormatted() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the time that pooled object was last returned.
getLastUsed() - Method in interface org.apache.commons.pool2.TrackedUse
Deprecated.
Use TrackedUse.getLastUsedInstant() which offers the best precision.
getLastUsedInstant() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Gets an estimate of the last time this object was used.
getLastUsedInstant() - Method in interface org.apache.commons.pool2.PooledObject
Gets an estimate of the last time this object was used.
getLastUsedInstant() - Method in interface org.apache.commons.pool2.TrackedUse
Gets the last Instant this object was used.
getLastUsedTime() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Gets an estimate of the last time this object was used.
getLastUsedTime() - Method in interface org.apache.commons.pool2.PooledObject
Deprecated.
Use PooledObject.getLastUsedInstant() which offers the best precision.
getLifo() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether the pool has LIFO (last in, first out) behavior with respect to idle objects - always returning the most recently used object from the pool, or as a FIFO (first in, first out) queue, where the pool always returns the oldest object in the idle object pool.
getLifo() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the lifo configuration attribute for pools created with this configuration instance.
getLifo() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getLifo() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getLogAbandoned() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Flag to log stack traces for application code which abandoned an object.
getLogAbandoned() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether this pool identifies and logs any abandoned objects.
getLogAbandoned() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getLogAbandoned() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getLogWriter() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Gets the log writer being used by this configuration to log information on abandoned objects.
getMaxBorrowWaitDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the maximum time a thread has waited to borrow objects from the pool.
getMaxBorrowWaitTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMaxBorrowWaitTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMaxBorrowWaitTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMaxIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Gets the cap on the number of "idle" instances in the pool.
getMaxIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Gets the value for the maxIdle configuration attribute for pools created with this configuration instance.
getMaxIdle() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMaxIdlePerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets the cap on the number of "idle" instances per key in the pool.
getMaxIdlePerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the maxIdlePerKey configuration attribute for pools created with this configuration instance.
getMaxIdlePerKey() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMaxTotal() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the maximum number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time.
getMaxTotal() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the maxTotal configuration attribute for pools created with this configuration instance.
getMaxTotal() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMaxTotal() - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Gets the value for the maxTotal configuration attribute for pools created with this configuration instance.
getMaxTotal() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMaxTotalPerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets the limit on the number of object instances allocated by the pool (checked out or idle), per key.
getMaxTotalPerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the maxTotalPerKey configuration attribute for pools created with this configuration instance.
getMaxTotalPerKey() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMaxWaitDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the maximum duration the borrowObject() method should block before throwing an exception when the pool is exhausted and BaseGenericObjectPool.getBlockWhenExhausted() is true.
getMaxWaitDuration() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the maxWait configuration attribute for pools created with this configuration instance.
getMaxWaitMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMaxWaitMillis() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getMaxWaitMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMaxWaitMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMean() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
Gets the mean of the cached values.
getMeanActiveDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the mean time objects are active for based on the last BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE objects returned to the pool.
getMeanActiveTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMeanActiveTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMeanActiveTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMeanBorrowWaitDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the mean time threads wait to borrow an object based on the last BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE objects borrowed from the pool.
getMeanBorrowWaitTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMeanBorrowWaitTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMeanBorrowWaitTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMeanDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
Gets the mean Duration of the cached values.
getMeanIdleDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the mean time objects are idle for based on the last BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE objects borrowed from the pool.
getMeanIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMeanIdleTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMeanIdleTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMessageStatistics() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether to include statistics in exception messages.
getMinEvictableIdleDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)).
getMinEvictableIdleDuration() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the minEvictableIdleTime configuration attribute for pools created with this configuration instance.
getMinEvictableIdleTime() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMinEvictableIdleTime() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMinIdle() - Method in class org.apache.commons.pool2.impl.EvictionConfig
Gets the minIdle for this eviction configuration instance.
getMinIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Gets the target for the minimum number of idle objects to maintain in the pool.
getMinIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Gets the value for the minIdle configuration attribute for pools created with this configuration instance.
getMinIdle() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getMinIdlePerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets the target for the minimum number of idle objects to maintain in each of the keyed sub-pools.
getMinIdlePerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the minIdlePerKey configuration attribute for pools created with this configuration instance.
getMinIdlePerKey() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getMinIdleTimer() - Static method in class org.apache.commons.pool2.PoolUtils
Gets the Timer for checking keyedPool's idle count.
getNextShrink() - Method in class org.apache.commons.pool2.PoolUtils.ErodingFactor
Gets the time of the next erosion event.
getNumActive() - Method in class org.apache.commons.pool2.BaseObjectPool
Not supported in this base implementation.
getNumActive() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getNumActive() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getNumActive() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
getNumActive() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getNumActive() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Gets the number of instances currently borrowed from this pool.
getNumActive() - Method in interface org.apache.commons.pool2.KeyedObjectPool
Gets the total number of instances currently borrowed from this pool but not yet returned.
getNumActive() - Method in interface org.apache.commons.pool2.ObjectPool
Gets the number of instances currently borrowed from this pool.
getNumActive() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the total number of instances currently borrowed from this pool but not yet returned.
getNumActive() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Gets the number of instances currently borrowed from this pool.
getNumActive() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Gets the total number of instances currently borrowed from this pool but not yet returned.
getNumActive() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Gets the number of instances currently borrowed from this pool.
getNumActive() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
getNumActive() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
getNumActive(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getNumActive(K) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Gets the number of instances currently borrowed from but not yet returned to the pool corresponding to the given key.
getNumActive(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the number of instances currently borrowed from but not yet returned to the pool corresponding to the given key.
getNumActive(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Gets the number of instances currently borrowed from but not yet returned to the pool corresponding to the given key.
getNumActive(K) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
getNumActivePerKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getNumActivePerKey() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getNumIdle() - Method in class org.apache.commons.pool2.BaseObjectPool
Not supported in this base implementation.
getNumIdle() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getNumIdle() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getNumIdle() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
getNumIdle() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getNumIdle() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Gets an approximation not less than the of the number of idle instances in the pool.
getNumIdle() - Method in interface org.apache.commons.pool2.KeyedObjectPool
Gets the total number of instances currently idle in this pool.
getNumIdle() - Method in interface org.apache.commons.pool2.ObjectPool
Gets the number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the total number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Gets the number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Gets the total number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Gets the number of instances currently idle in this pool.
getNumIdle() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
getNumIdle() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
getNumIdle(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getNumIdle(K) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Gets the number of instances corresponding to the given key currently idle in this pool.
getNumIdle(K) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Gets the number of instances corresponding to the given key currently idle in this pool.
getNumIdle(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Gets the number of instances corresponding to the given key currently idle in this pool.
getNumIdle(K) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
getNumInterested() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
Gets the number of threads with an interest registered in this key.
getNumTasks() - Static method in class org.apache.commons.pool2.impl.EvictionTimer
 
getNumTests() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets the number of objects to test in a run of the idle object evictor.
getNumTests() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Calculates the number of objects to test in a run of the idle object evictor.
getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the maximum number of objects to examine during each run (if any) of the idle object evictor thread.
getNumTestsPerEvictionRun() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the numTestsPerEvictionRun configuration attribute for pools created with this configuration instance.
getNumTestsPerEvictionRun() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getNumTestsPerEvictionRun() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getNumWaiters() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets an estimate of the number of threads currently blocked waiting for an object from the pool.
getNumWaiters() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getNumWaiters() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Gets an estimate of the number of threads currently blocked waiting for an object from the pool.
getNumWaiters() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getNumWaitersByKey() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets an estimate of the number of threads currently blocked waiting for an object from the pool for each key.
getNumWaitersByKey() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getObject() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
 
getObject() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
getObject() - Method in class org.apache.commons.pool2.impl.PooledSoftReference
Gets the object that the wrapped SoftReference refers to.
getObject() - Method in interface org.apache.commons.pool2.PooledObject
Gets the underlying object that is wrapped by this instance of PooledObject.
getObject(PooledObject<T>) - Static method in interface org.apache.commons.pool2.PooledObject
Gets the wrapped object or null.
getParameterizedType(Class<T>, Class<? extends T>) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Gets the matching parameterized type or null.
getPooledObject() - Method in class org.apache.commons.pool2.proxy.BaseProxyHandler
Gets the wrapped, pooled object.
getPooledObject(T) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
getPooledObjectToString() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getPooledObjectToString() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets a String form of the wrapper for debug purposes.
getPooledObjectType() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getPooledObjectType() - Method in interface org.apache.commons.pool2.impl.DefaultPooledObjectInfoMBean
Gets the name of the class of the pooled object.
getReference() - Method in class org.apache.commons.pool2.impl.PooledSoftReference
Gets the SoftReference wrapped by this object.
getRemoveAbandonedOnBorrow() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Flag to remove abandoned objects if they exceed the removeAbandonedTimeout when borrowObject is invoked.
getRemoveAbandonedOnBorrow() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether a check is made for abandoned objects when an object is borrowed from this pool.
getRemoveAbandonedOnBorrow() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getRemoveAbandonedOnBorrow() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getRemoveAbandonedOnMaintenance() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Flag to remove abandoned objects if they exceed the removeAbandonedTimeout when pool maintenance (the "evictor") runs.
getRemoveAbandonedOnMaintenance() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether a check is made for abandoned objects when the evictor runs.
getRemoveAbandonedOnMaintenance() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getRemoveAbandonedOnMaintenance() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getRemoveAbandonedTimeout() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
getRemoveAbandonedTimeout() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getRemoveAbandonedTimeout() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getRemoveAbandonedTimeout() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getRemoveAbandonedTimeoutDuration() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Timeout before an abandoned object can be removed.
getRemoveAbandonedTimeoutDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the timeout before which an object will be considered to be abandoned by this pool.
getRequireFullStackTrace() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Indicates if full stack traces are required when logAbandoned is true.
getReturnedCount() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the total number of objects returned to this pool over the lifetime of the pool.
getReturnedCount() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getReturnedCount() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getReuseCapacityOnMaintenance() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets whether to call GenericKeyedObjectPool.reuseCapacity() during pool maintenance (eviction).
getReuseCapacityOnMaintenance() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the reuseCapacityOnMaintenance configuration attribute for pools created with this configuration instance.
getReuseCapacityOnReturn() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Gets whether to call GenericKeyedObjectPool.reuseCapacity() when returning objects to the pool.
getReuseCapacityOnReturn() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Gets the value for the reuseCapacityOnReturn configuration attribute for pools created with this configuration instance.
getSoftMinEvictableIdleDuration() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)), with the extra condition that at least minIdle object instances remain in the pool.
getSoftMinEvictableIdleDuration() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the softMinEvictableIdleTime configuration attribute for pools created with this configuration instance.
getSoftMinEvictableIdleTime() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getSoftMinEvictableIdleTime() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getStackTrace(Exception) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the stack trace of an exception as a string.
getState() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Gets the state of this object.
getState() - Method in interface org.apache.commons.pool2.PooledObject
Gets the state of this object.
getStatsString() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets a statistics string.
getStatsString() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
getStatsString() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
getSwallowedExceptionListener() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets the listener used (if any) to receive notifications of exceptions unavoidably swallowed by the pool.
getTakeQueueLength() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Gets the length of the queue of threads waiting to take instances from this deque.
getTaskMap() - Static method in class org.apache.commons.pool2.impl.EvictionTimer
Gets the task map.
getTestOnBorrow() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether objects borrowed from the pool will be validated before being returned from the borrowObject() method.
getTestOnBorrow() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the testOnBorrow configuration attribute for pools created with this configuration instance.
getTestOnBorrow() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getTestOnBorrow() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getTestOnCreate() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether objects created for the pool will be validated before being returned from the borrowObject() method.
getTestOnCreate() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the testOnCreate configuration attribute for pools created with this configuration instance.
getTestOnCreate() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getTestOnCreate() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getTestOnReturn() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether objects borrowed from the pool will be validated when they are returned to the pool via the returnObject() method.
getTestOnReturn() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the testOnReturn configuration attribute for pools created with this configuration instance.
getTestOnReturn() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getTestOnReturn() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getTestWhileIdle() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Gets whether objects sitting idle in the pool will be validated by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)).
getTestWhileIdle() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Gets the value for the testWhileIdle configuration attribute for pools created with this configuration instance.
getTestWhileIdle() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getTestWhileIdle() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getTimeBetweenEvictionRuns() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getTimeBetweenEvictionRuns() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
getTimeBetweenEvictionRunsMillis() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
getTimeBetweenEvictionRunsMillis() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getTimeMillisFormatted(long) - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
getTypeParameter(Class<?>, Type) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
For a generic parameter, return either the Class used or if the type is unknown, the index for the type in definition of the class
getUseUsageTracking() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
If the pool implements UsageTracking, should the pool record a stack trace every time a method is called on a pooled object and retain the most recent stack trace to aid debugging of abandoned objects?
getValues() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
Gets the current values as a List.

H

hasBorrowWaiters() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Tests to see if there are any threads currently waiting to borrow objects but are blocked waiting for more objects to become available.
hashCode() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
 
hashCode() - Method in interface org.apache.commons.pool2.PooledObject
 
hasNext() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
hasNext() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
 
hasTakeWaiters() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns true if there are threads waiting to take instances from this deque.

I

IdentityWrapper(T) - Constructor for class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
Constructs a wrapper for an instance.
IDLE - org.apache.commons.pool2.PooledObjectState
In the queue, not in use.
idleEvictDuration - Variable in class org.apache.commons.pool2.impl.EvictionConfig
 
idleHighWaterMark - Variable in class org.apache.commons.pool2.PoolUtils.ErodingFactor
High water mark - largest numIdle encountered
idleObjectIterator - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
 
idleObjects - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
 
idleObjects - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
idleObjects - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
idleReferences - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Idle references - waiting to be borrowed
idleSoftEvictDuration - Variable in class org.apache.commons.pool2.impl.EvictionConfig
 
idleTimes - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
index - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
INSTANCE - Static variable in class org.apache.commons.pool2.impl.NoOpCallStack
The singleton instance.
intercept(Object, Method, Object[], MethodProxy) - Method in class org.apache.commons.pool2.proxy.CglibProxyHandler
 
interfaces - Variable in class org.apache.commons.pool2.proxy.JdkProxySource
 
InterruptibleReentrantLock - Class in org.apache.commons.pool2.impl
This sub-class was created to expose the waiting threads so that they can be interrupted when the pool using the queue that uses this lock is closed.
InterruptibleReentrantLock(boolean) - Constructor for class org.apache.commons.pool2.impl.InterruptibleReentrantLock
Constructs a new InterruptibleReentrantLock with the given fairness policy.
interruptTakeWaiters() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Interrupts the threads currently waiting to take an object from the pool.
interruptWaiters(Condition) - Method in class org.apache.commons.pool2.impl.InterruptibleReentrantLock
Interrupts the threads that are waiting on a specific condition.
INVALID - org.apache.commons.pool2.PooledObjectState
Failed maintenance (e.g.
invalidate() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Sets the state to INVALID.
invalidate() - Method in interface org.apache.commons.pool2.PooledObject
Sets the state to INVALID.
invalidateObject(K, T) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, T, DestroyMode) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Invalidates an object from the pool, using the provided DestroyMode.
invalidateObject(K, V) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Invalidates an object from the pool.
invalidateObject(K, V) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
invalidateObject(K, V, DestroyMode) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Invalidates an object from the pool, using the provided DestroyMode.
invalidateObject(T) - Method in class org.apache.commons.pool2.BaseObjectPool
 
invalidateObject(T) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
 
invalidateObject(T) - Method in interface org.apache.commons.pool2.ObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Invalidates an object from the pool.
invalidateObject(T) - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
invalidateObject(T, DestroyMode) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Invalidates an object from the pool, using the provided DestroyMode
invalidateObject(T, DestroyMode) - Method in interface org.apache.commons.pool2.ObjectPool
Invalidates an object from the pool, using the provided DestroyMode
invoke(Object, Method, Object[]) - Method in class org.apache.commons.pool2.proxy.JdkProxyHandler
 
isAbandonedConfig() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Tests whether or not abandoned object removal is configured for this pool.
isAbandonedConfig() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
isAbandonedConfig() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
isClosed() - Method in class org.apache.commons.pool2.BaseObjectPool
Has this pool instance been closed.
isClosed() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Tests whether this pool instance is closed.
isClosed() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
isClosed() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
isNull(PooledObject<?>) - Static method in interface org.apache.commons.pool2.PooledObject
Tests whether the given PooledObject is null or wraps a null.
isPositive(Duration) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
 
item - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.Node
The item, or null if this node has been removed.
iterator() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns an iterator over the elements in this deque in proper sequence.
Itr() - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque.Itr
 

J

JdkProxyHandler<T> - Class in org.apache.commons.pool2.proxy
Java reflection implementation of the proxy handler.
JdkProxyHandler(T, UsageTracking<T>) - Constructor for class org.apache.commons.pool2.proxy.JdkProxyHandler
Constructs a Java reflection proxy instance.
JdkProxySource<T> - Class in org.apache.commons.pool2.proxy
Provides proxy objects using Java reflection.
JdkProxySource(ClassLoader, Class<?>[]) - Constructor for class org.apache.commons.pool2.proxy.JdkProxySource
Constructs a new proxy source for the given interfaces.
jmxEnabled - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
jmxNameBase - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
jmxNamePrefix - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
jmxRegister(BaseObjectPoolConfig<T>, String, String) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Registers the pool with the platform MBean server.
jmxUnregister() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Unregisters this pool's MBean.

K

key - Variable in class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
Key to ensure minIdle for
keyedFactory - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Wrapped factory
KeyedObjectPool<K,​V> - Interface in org.apache.commons.pool2
A "keyed" pooling interface.
KeyedObjectPoolMinIdleTimerTask(KeyedObjectPool<K, V>, K, int) - Constructor for class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
Creates a new KeyedObjecPoolMinIdleTimerTask.
keyedPool - Variable in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Underlying pool
keyedPool - Variable in class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
Keyed object pool
keyedPool - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Underlying object pool
KeyedPooledObjectFactory<K,​V> - Interface in org.apache.commons.pool2
An interface defining life-cycle methods for instances to be served by a KeyedObjectPool.
keyLock - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 

L

last - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Pointer to last node.
lastBorrowInstant - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
lastRet - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
Node returned by most recent call to next.
lastReturnInstant - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
lastUseInstant - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
lifo - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
lifo - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
LinkedBlockingDeque<E> - Class in org.apache.commons.pool2.impl
An optionally-bounded blocking deque based on linked nodes.
LinkedBlockingDeque() - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE.
LinkedBlockingDeque(boolean) - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE and the given fairness policy.
LinkedBlockingDeque(int) - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque
Creates a LinkedBlockingDeque with the given (fixed) capacity.
LinkedBlockingDeque(int, boolean) - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque
Creates a LinkedBlockingDeque with the given (fixed) capacity and fairness policy.
LinkedBlockingDeque(Collection<? extends E>) - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.
LinkedBlockingDeque.AbstractItr - Class in org.apache.commons.pool2.impl
Base class for Iterators for LinkedBlockingDeque
LinkedBlockingDeque.DescendingItr - Class in org.apache.commons.pool2.impl
Descending iterator
LinkedBlockingDeque.Itr - Class in org.apache.commons.pool2.impl
Forward iterator
LinkedBlockingDeque.Node<E> - Class in org.apache.commons.pool2.impl
Doubly-linked list node class.
linkFirst(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links provided element as first element, or returns false if full.
linkLast(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links provided element as last element, or returns false if full.
listAllObjects() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Provides information on all the objects in the pool, both idle (waiting to be borrowed) and active (currently borrowed).
listAllObjects() - Method in interface org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean
listAllObjects() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Provides information on all the objects in the pool, both idle (waiting to be borrowed) and active (currently borrowed).
listAllObjects() - Method in interface org.apache.commons.pool2.impl.GenericObjectPoolMXBean
lock - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Main lock guarding all access
lock - Variable in class org.apache.commons.pool2.PoolUtils.ErodingFactor
 
logAbandoned - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
Determines whether or not to log stack traces for application code which abandoned an object.
logAbandoned - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
logWriter - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
PrintWriter to use to log information on abandoned objects.

M

makeObject() - Method in class org.apache.commons.pool2.BasePooledObjectFactory
 
makeObject() - Method in interface org.apache.commons.pool2.PooledObjectFactory
Creates an instance that can be served by the pool and wrap it in a PooledObject to be managed by the pool.
makeObject() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Creates an instance that can be served by the pool and wrap it in a PooledObject to be managed by the pool.
makeObject(K) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
 
makeObject(K) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Creates an instance that can be served by the pool and wrap it in a PooledObject to be managed by the pool.
makeObject(K) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Creates an instance that can be served by the pool and wrap it in a PooledObject to be managed by the pool.
makeObjectCount - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
makeObjectCount - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
makeObjectCountLock - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
makeObjectCountLock - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
markAbandoned() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Marks the pooled object as ABANDONED.
markAbandoned() - Method in interface org.apache.commons.pool2.PooledObject
Marks the pooled object as abandoned.
markReturning() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Marks the pooled object as RETURNING.
markReturning() - Method in interface org.apache.commons.pool2.PooledObject
Marks the object as returning to the pool.
markReturningState(PooledObject<T>) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Marks the object as returning to the pool.
max(Instant, Instant) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Returns the greater of two Instant values.
MAX_DURATION - Static variable in class org.apache.commons.pool2.impl.EvictionConfig
 
MAX_INTERVAL - Static variable in class org.apache.commons.pool2.PoolUtils.ErodingFactor
 
maxBorrowWaitDuration - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
maxIdle - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
maxIdle - Variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
 
maxIdlePerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
maxIdlePerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
maxTotal - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
maxTotal - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
maxTotal - Variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
 
maxTotalPerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
maxTotalPerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
maxWaitDuration - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
maxWaitDuration - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
MEAN_TIMING_STATS_CACHE_SIZE - Static variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
The size of the caches used to store historical data for some attributes so that rolling means may be calculated.
messageFormat - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
messageFormat - Variable in class org.apache.commons.pool2.impl.ThrowableCallStack
 
messageStatistics - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
min(Instant, Instant) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Returns the smaller of two Instant values.
MIN_IDLE_TIMER - Static variable in class org.apache.commons.pool2.PoolUtils.TimerHolder
 
minEvictableIdleDuration - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
minEvictableIdleDuration - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
minIdle - Variable in class org.apache.commons.pool2.impl.EvictionConfig
 
minIdle - Variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
minIdle - Variable in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
 
minIdle - Variable in class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
Minimum number of idle instances.
minIdle - Variable in class org.apache.commons.pool2.PoolUtils.ObjectPoolMinIdleTimerTask
Minimum number of idle instances.
minIdlePerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
minIdlePerKey - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
MSG_FACTOR_NEGATIVE - Static variable in class org.apache.commons.pool2.PoolUtils
 
MSG_MIN_IDLE - Static variable in class org.apache.commons.pool2.PoolUtils
 
MSG_NULL_KEY - Static variable in class org.apache.commons.pool2.PoolUtils
 
MSG_NULL_KEYED_POOL - Static variable in class org.apache.commons.pool2.PoolUtils
 
MSG_NULL_KEYS - Static variable in class org.apache.commons.pool2.PoolUtils
 
MSG_NULL_POOL - Static variable in class org.apache.commons.pool2.PoolUtils
 

N

newCallStack(String, boolean) - Static method in class org.apache.commons.pool2.impl.CallStackUtils
newCallStack(String, boolean, boolean) - Static method in class org.apache.commons.pool2.impl.CallStackUtils
Constructs a new CallStack using the fasted allowed strategy.
newThread(Runnable) - Method in class org.apache.commons.pool2.impl.EvictionTimer.EvictorThreadFactory
 
next - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
The next node to return in next()
next - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.Node
One of: - the real successor Node - this Node, meaning the successor is head - null, meaning there is no successor
next() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
next() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
 
nextItem - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
nextItem holds on to item fields because once we claim that an element exists in hasNext(), we must return item read under lock (in advance()) even if it was in the process of being removed when hasNext() was called.
nextNode(LinkedBlockingDeque.Node<E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
For a given node, obtain the next node to be returned by the iterator.
nextNode(LinkedBlockingDeque.Node<E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.DescendingItr
 
nextNode(LinkedBlockingDeque.Node<E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.Itr
 
nextShrinkMillis - Variable in class org.apache.commons.pool2.PoolUtils.ErodingFactor
Time of next shrink event
Node(E, LinkedBlockingDeque.Node<E>, LinkedBlockingDeque.Node<E>) - Constructor for class org.apache.commons.pool2.impl.LinkedBlockingDeque.Node
Constructs a new list node.
NONE - Static variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
nonNull(Duration, Duration) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Returns a non-null duration, value if non-null, otherwise defaultValue.
nonNull(PooledObject<?>) - Static method in interface org.apache.commons.pool2.PooledObject
Tests whether the given PooledObject isn't null and doesn't wraps a null.
NoOpCallStack - Class in org.apache.commons.pool2.impl
CallStack strategy using no-op implementations of all functionality.
NoOpCallStack() - Constructor for class org.apache.commons.pool2.impl.NoOpCallStack
Constructs the singleton instance.
NORMAL - org.apache.commons.pool2.DestroyMode
Normal destroy.
notEmpty - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Condition for waiting takes
notFull - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Condition for waiting puts
now() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Gets the current instant of the clock.
numActive - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Count of instances that have been checkout out to pool clients
numInterested - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
numTestsPerEvictionRun - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
numTestsPerEvictionRun - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
numTotal - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 

O

object - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
Wrapped object
object - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
ObjectDeque(boolean) - Constructor for class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
Constructs a new ObjectDeque with the given fairness policy.
objectName - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
ObjectPool<T> - Interface in org.apache.commons.pool2
A pooling simple interface.
ObjectPoolMinIdleTimerTask(ObjectPool<T>, int) - Constructor for class org.apache.commons.pool2.PoolUtils.ObjectPoolMinIdleTimerTask
Constructs a new ObjectPoolMinIdleTimerTask for the given pool with the given minIdle setting.
offer(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
offer(E, long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting up to the specified time to do so if the queue is full.
offer(E, Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting up to the specified time to do so if the queue is full.
offerFirst(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
offerFirst(E, long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the first in the queue, waiting up to the specified time to do so if the queue is full.
offerFirst(E, Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the first in the queue, waiting up to the specified time to do so if the queue is full.
offerLast(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
offerLast(E, long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting up to the specified time to do so if the queue is full.
offerLast(E, Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting up to the specified time to do so if the queue is full.
ONAME_BASE - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
ONAME_BASE - Static variable in class org.apache.commons.pool2.impl.GenericObjectPool
 
onSwallowException(Exception) - Method in interface org.apache.commons.pool2.SwallowedExceptionListener
Notifies this instance every time the implementation unavoidably swallows an exception.
org.apache.commons.pool2 - package org.apache.commons.pool2
Object pooling API.
org.apache.commons.pool2.impl - package org.apache.commons.pool2.impl
Object pooling API implementations.
org.apache.commons.pool2.proxy - package org.apache.commons.pool2.proxy
Object pooling proxy implementations.
owner() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
 

P

passivateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Uninitializes an instance to be returned to the idle object pool.
passivateObject(K, PooledObject<V>) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Uninitializes an instance to be returned to the idle object pool.
passivateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Uninitializes an instance to be returned to the idle object pool.
passivateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.BasePooledObjectFactory
No-op.
passivateObject(PooledObject<T>) - Method in interface org.apache.commons.pool2.PooledObjectFactory
Uninitializes an instance to be returned to the idle object pool.
passivateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Uninitializes an instance to be returned to the idle object pool.
PATTERN - Static variable in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
peek() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
peekFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
peekLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
poll() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
poll(long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting up to the specified time to do so if the queue is empty.
poll(Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting up to the specified time to do so if the queue is empty.
pollFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
pollFirst(long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting up to the specified time to do so if the queue is empty.
pollFirst(Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting up to the specified time to do so if the queue is empty.
pollLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
pollLast(long, TimeUnit) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the last element in the queue, waiting up to the specified time to do so if the queue is empty.
pollLast(Duration) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the last element in the queue, waiting up to the specified time to do so if the queue is empty.
pool - Variable in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Underlying object pool
pool - Variable in class org.apache.commons.pool2.PoolUtils.ObjectPoolMinIdleTimerTask
Object pool
pool - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
The underlying object pool
pool - Variable in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
pool - Variable in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
pooledObject - Variable in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
pooledObject - Variable in class org.apache.commons.pool2.proxy.BaseProxyHandler
 
PooledObject<T> - Interface in org.apache.commons.pool2
Defines the wrapper that is used to track the additional information, such as state, for the pooled objects.
PooledObjectFactory<T> - Interface in org.apache.commons.pool2
An interface defining life-cycle methods for instances to be served by an ObjectPool.
PooledObjectState - Enum in org.apache.commons.pool2
Provides all possible states of a PooledObject.
PooledObjectState() - Constructor for enum org.apache.commons.pool2.PooledObjectState
 
PooledSoftReference<T> - Class in org.apache.commons.pool2.impl
Extension of DefaultPooledObject to wrap pooled soft references.
PooledSoftReference(SoftReference<T>) - Constructor for class org.apache.commons.pool2.impl.PooledSoftReference
Creates a new PooledSoftReference wrapping the provided reference.
PoolImplUtils - Class in org.apache.commons.pool2.impl
Implementation specific utilities.
PoolImplUtils() - Constructor for class org.apache.commons.pool2.impl.PoolImplUtils
 
poolKeyList - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
poolMap - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
PoolUtils - Class in org.apache.commons.pool2
This class consists exclusively of static methods that operate on or return ObjectPool or KeyedObjectPool related interfaces.
PoolUtils() - Constructor for class org.apache.commons.pool2.PoolUtils
PoolUtils instances should NOT be constructed in standard programming.
PoolUtils.ErodingFactor - Class in org.apache.commons.pool2
Encapsulate the logic for when the next poolable object should be discarded.
PoolUtils.ErodingKeyedObjectPool<K,​V> - Class in org.apache.commons.pool2
Decorates a keyed object pool, adding "eroding" behavior.
PoolUtils.ErodingObjectPool<T> - Class in org.apache.commons.pool2
Decorates an object pool, adding "eroding" behavior.
PoolUtils.ErodingPerKeyKeyedObjectPool<K,​V> - Class in org.apache.commons.pool2
Extends ErodingKeyedObjectPool to allow erosion to take place on a per-key basis.
PoolUtils.KeyedObjectPoolMinIdleTimerTask<K,​V> - Class in org.apache.commons.pool2
Timer task that adds objects to the pool until the number of idle instances for the given key reaches the configured minIdle.
PoolUtils.ObjectPoolMinIdleTimerTask<T> - Class in org.apache.commons.pool2
Timer task that adds objects to the pool until the number of idle instances reaches the configured minIdle.
PoolUtils.SynchronizedKeyedObjectPool<K,​V> - Class in org.apache.commons.pool2
A synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
PoolUtils.SynchronizedKeyedPooledObjectFactory<K,​V> - Class in org.apache.commons.pool2
A fully synchronized KeyedPooledObjectFactory that wraps a KeyedPooledObjectFactory and synchronizes access to the wrapped factory methods.
PoolUtils.SynchronizedObjectPool<T> - Class in org.apache.commons.pool2
A synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
PoolUtils.SynchronizedPooledObjectFactory<T> - Class in org.apache.commons.pool2
A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and synchronizes access to the wrapped factory methods.
PoolUtils.TimerHolder - Class in org.apache.commons.pool2
Timer used to periodically check pools idle object count.
pop() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
prefill(KeyedObjectPool<K, V>, Collection<K>, int) - Static method in class org.apache.commons.pool2.PoolUtils
prefill(KeyedObjectPool<K, V>, K, int) - Static method in class org.apache.commons.pool2.PoolUtils
prefill(ObjectPool<T>, int) - Static method in class org.apache.commons.pool2.PoolUtils
Deprecated.
preparePool() - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Tries to ensure that GenericObjectPool.getMinIdle() idle instances are available in the pool.
preparePool(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Registers a key for pool control and ensures that GenericKeyedObjectPool.getMinIdlePerKey() idle instances are created.
prev - Variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque.Node
One of: - the real predecessor Node - this Node, meaning the predecessor is tail - null, meaning there is no predecessor
printStackTrace(PrintWriter) - Method in interface org.apache.commons.pool2.impl.CallStack
Prints the current stack trace if available to a PrintWriter.
printStackTrace(PrintWriter) - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
printStackTrace(PrintWriter) - Method in class org.apache.commons.pool2.impl.NoOpCallStack
 
printStackTrace(PrintWriter) - Method in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
printStackTrace(PrintWriter) - Method in class org.apache.commons.pool2.impl.ThrowableCallStack
 
printStackTrace(PrintWriter) - Method in interface org.apache.commons.pool2.PooledObject
Prints the stack trace of the code that borrowed this pooled object and the stack trace of the last code to use this object (if available) to the supplied writer.
PrivateSecurityManager() - Constructor for class org.apache.commons.pool2.impl.SecurityManagerCallStack.PrivateSecurityManager
 
ProxiedKeyedObjectPool<K,​V> - Class in org.apache.commons.pool2.proxy
Create a new keyed object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool.
ProxiedKeyedObjectPool(KeyedObjectPool<K, V>, ProxySource<V>) - Constructor for class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
Constructs a new proxied object pool.
ProxiedObjectPool<T> - Class in org.apache.commons.pool2.proxy
Create a new object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool.
ProxiedObjectPool(ObjectPool<T>, ProxySource<T>) - Constructor for class org.apache.commons.pool2.proxy.ProxiedObjectPool
Constructs a new proxied object pool.
proxySource - Variable in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
proxySource - Variable in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
ProxySource<T> - Interface in org.apache.commons.pool2.proxy
The interface that any provider of proxy instances must implement to allow the ProxiedObjectPool to create proxies as required.
pruneClearedReferences() - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
If any idle objects were garbage collected, remove their Reference wrappers from the idle object pool.
push(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
put(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting until there is space to do so if the queue is full.
putFirst(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the first in the queue, waiting until there is space to do so if the queue is full.
putLast(E) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Links the provided element as the last in the queue, waiting until there is space to do so if the queue is full.

R

readObject(ObjectInputStream) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Reconstitutes this deque from a stream (that is, deserialize it).
readWriteLock - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Object whose monitor is used to synchronize methods on the wrapped pool.
readWriteLock - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Object whose monitor is used to synchronize methods on the wrapped pool.
Reaper() - Constructor for class org.apache.commons.pool2.impl.EvictionTimer.Reaper
 
ref - Variable in class org.apache.commons.pool2.impl.EvictionTimer.WeakRunner
 
reference - Variable in class org.apache.commons.pool2.impl.PooledSoftReference
SoftReference wrapped by this object
refQueue - Variable in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Queue of broken references that might be able to be removed from _pool.
register(K) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Register the use of a key by an object.
remainingCapacity() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns the number of additional elements that this deque can ideally (in the absence of memory or resource constraints) accept without blocking.
remove() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.EvictionIterator
remove() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
 
remove() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Retrieves and removes the head of the queue represented by this deque.
remove(Object) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Removes the first occurrence of the specified element from this deque.
remove(BaseGenericObjectPool.Evictor) - Static method in class org.apache.commons.pool2.impl.EvictionTimer
Removes evictor from the task set and executor.
removeAbandoned(AbandonedConfig) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Recovers abandoned objects which have been checked out but not used since longer than the removeAbandonedTimeout.
removeAbandoned(AbandonedConfig) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Recovers abandoned objects which have been checked out but not used since longer than the removeAbandonedTimeout.
removeAbandonedOnBorrow - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
Whether or not borrowObject performs abandoned object removal.
removeAbandonedOnMaintenance - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
Whether or not pool maintenance (evictor) performs abandoned object removal.
removeAbandonedTimeoutDuration - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
Timeout before an abandoned object can be removed.
removeClearedReferences(Iterator<PooledSoftReference<T>>) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Clears cleared references from iterator's collection
removeFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
removeFirstOccurrence(Object) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
removeLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
removeLastOccurrence(Object) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
requireFullStackTrace - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
Determines whether or not to log full stack traces when logAbandoned is true.
resolveProxy(T) - Method in class org.apache.commons.pool2.proxy.CglibProxySource
 
resolveProxy(T) - Method in class org.apache.commons.pool2.proxy.JdkProxySource
 
resolveProxy(T) - Method in interface org.apache.commons.pool2.proxy.ProxySource
Resolves the wrapped object from the given proxy.
returnedCount - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
RETURNING - org.apache.commons.pool2.PooledObjectState
Returning to the pool.
returnObject(K, T) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Returns an object to a keyed sub-pool.
returnObject(K, V) - Method in interface org.apache.commons.pool2.KeyedObjectPool
Return an instance to the pool.
returnObject(K, V) - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
Returns obj to the pool, unless erosion is triggered, in which case obj is invalidated.
returnObject(K, V) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Return an instance to the pool.
returnObject(K, V) - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
returnObject(T) - Method in class org.apache.commons.pool2.BaseObjectPool
 
returnObject(T) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Returns an instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Returns an instance to the pool after successful validation and passivation.
returnObject(T) - Method in interface org.apache.commons.pool2.ObjectPool
Returns an instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
Returns * Gets obj to the pool, unless erosion is triggered, in which case obj is invalidated.
returnObject(T) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Returns an instance to the pool.
returnObject(T) - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
reuseCapacity() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Attempt to create one new instance to serve from the most heavily loaded pool that can add a new instance.
reuseCapacity(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
reuseCapacityOnMaintenance - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
reuseCapacityOnMaintenance - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
reuseCapacityOnReturn - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
reuseCapacityOnReturn - Variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
run() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
Run pool maintenance.
run() - Method in class org.apache.commons.pool2.impl.EvictionTimer.Reaper
 
run() - Method in class org.apache.commons.pool2.impl.EvictionTimer.WeakRunner
 
run() - Method in class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
run() - Method in class org.apache.commons.pool2.PoolUtils.ObjectPoolMinIdleTimerTask

S

schedule(BaseGenericObjectPool.Evictor, Duration, Duration) - Static method in class org.apache.commons.pool2.impl.EvictionTimer
Adds the specified eviction task to the timer.
scheduledFuture - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
 
securityManager - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
SecurityManagerCallStack - Class in org.apache.commons.pool2.impl
A CallStack strategy using a SecurityManager.
SecurityManagerCallStack(String, boolean) - Constructor for class org.apache.commons.pool2.impl.SecurityManagerCallStack
Creates a new instance.
SecurityManagerCallStack.PrivateSecurityManager - Class in org.apache.commons.pool2.impl
A custom security manager.
SecurityManagerCallStack.Snapshot - Class in org.apache.commons.pool2.impl
A snapshot of a class stack.
serialVersionUID - Static variable in class org.apache.commons.pool2.impl.InterruptibleReentrantLock
 
serialVersionUID - Static variable in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
serialVersionUID - Static variable in class org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
 
setAbandonedConfig(AbandonedConfig) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the abandoned object removal configuration.
setBlockWhenExhausted(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether to block when the borrowObject() method is invoked when the pool is exhausted (the maximum number of "active" objects has been reached).
setBlockWhenExhausted(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the blockWhenExhausted configuration attribute for pools created with this configuration instance.
setCollectDetailedStatistics(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether detailed timing statistics collection is enabled.
setCollectDetailedStatistics(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the collectDetailedStatistics configuration attribute for pools created with this configuration instance.
setConfig(BaseObjectPoolConfig<T>) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the receiver with the given configuration.
setConfig(GenericKeyedObjectPoolConfig<T>) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets the configuration.
setConfig(GenericObjectPoolConfig<T>) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Sets the base pool configuration.
setDurationBetweenEvictionRuns(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the number of milliseconds to sleep between runs of the idle object evictor thread.
setEvictionPolicy(String, ClassLoader) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the eviction policy.
setEvictionPolicy(EvictionPolicy<T>) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the eviction policy for this pool.
setEvictionPolicy(EvictionPolicy<T>) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the evictionPolicyClass configuration attribute for pools created with this configuration instance.
setEvictionPolicyClassName(String) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the name of the EvictionPolicy implementation that is used by this pool.
setEvictionPolicyClassName(String) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the evictionPolicyClassName configuration attribute for pools created with this configuration instance.
setEvictionPolicyClassName(String, ClassLoader) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the name of the EvictionPolicy implementation that is used by this pool.
setEvictorShutdownTimeout(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the timeout that will be used when waiting for the Evictor to shutdown if this pool is closed and it is the only pool still using the value for the Evictor.
setEvictorShutdownTimeout(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the evictorShutdownTimeout configuration attribute for pools created with this configuration instance.
setEvictorShutdownTimeoutMillis(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setEvictorShutdownTimeoutMillis(long) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setEvictorShutdownTimeoutMillis(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setFairness(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the fairness configuration attribute for pools created with this configuration instance.
setJmxEnabled(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value of the flag that determines if JMX will be enabled for pools created with this configuration instance.
setJmxNameBase(String) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value of the JMX name base that will be used as part of the name assigned to JMX enabled pools created with this configuration instance.
setJmxNamePrefix(String) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value of the JMX name prefix that will be used as part of the name assigned to JMX enabled pools created with this configuration instance.
setLifo(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether the pool has LIFO (last in, first out) behavior with respect to idle objects - always returning the most recently used object from the pool, or as a FIFO (first in, first out) queue, where the pool always returns the oldest object in the idle object pool.
setLifo(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the lifo configuration attribute for pools created with this configuration instance.
setLogAbandoned(boolean) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Sets the flag to log stack traces for application code which abandoned an object.
setLogAbandoned(boolean) - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
setLogAbandoned(boolean) - Method in interface org.apache.commons.pool2.PooledObject
Sets whether to use abandoned object tracking.
setLogWriter(PrintWriter) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Sets the log writer to be used by this configuration to log information on abandoned objects.
setMaxIdle(int) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Sets the cap on the number of "idle" instances in the pool.
setMaxIdle(int) - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Sets the value for the maxIdle configuration attribute for pools created with this configuration instance.
setMaxIdlePerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets the cap on the number of "idle" instances per key in the pool.
setMaxIdlePerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the maxIdlePerKey configuration attribute for pools created with this configuration instance.
setMaxTotal(int) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the cap on the number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time.
setMaxTotal(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the maxTotal configuration attribute for pools created with this configuration instance.
setMaxTotal(int) - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Sets the value for the maxTotal configuration attribute for pools created with this configuration instance.
setMaxTotalPerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets the limit on the number of object instances allocated by the pool (checked out or idle), per key.
setMaxTotalPerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the maxTotalPerKey configuration attribute for pools created with this configuration instance.
setMaxWait(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the maximum duration the borrowObject() method should block before throwing an exception when the pool is exhausted and BaseGenericObjectPool.getBlockWhenExhausted() is true.
setMaxWait(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the maxWait configuration attribute for pools created with this configuration instance.
setMaxWaitMillis(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setMaxWaitMillis(long) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setMessagesStatistics(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether to include statistics in exception messages.
setMinEvictableIdle(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setMinEvictableIdleDuration(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)).
setMinEvictableIdleDuration(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the minEvictableIdleTime configuration attribute for pools created with this configuration instance.
setMinEvictableIdleTime(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setMinEvictableIdleTime(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setMinIdle(int) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
Sets the target for the minimum number of idle objects to maintain in the pool.
setMinIdle(int) - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
Sets the value for the minIdle configuration attribute for pools created with this configuration instance.
setMinIdlePerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets the target for the minimum number of idle objects to maintain in each of the keyed sub-pools.
setMinIdlePerKey(int) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the minIdlePerKey configuration attribute for pools created with this configuration instance.
setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the maximum number of objects to examine during each run (if any) of the idle object evictor thread.
setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the numTestsPerEvictionRun configuration attribute for pools created with this configuration instance.
setReference(SoftReference<T>) - Method in class org.apache.commons.pool2.impl.PooledSoftReference
Sets the wrapped reference.
setRemoveAbandonedOnBorrow(boolean) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Flag to remove abandoned objects if they exceed the removeAbandonedTimeout when borrowObject is invoked.
setRemoveAbandonedOnMaintenance(boolean) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Flag to remove abandoned objects if they exceed the removeAbandonedTimeout when pool maintenance runs.
setRemoveAbandonedTimeout(int) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
setRemoveAbandonedTimeout(Duration) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Sets the timeout before an abandoned object can be removed.
setRequireFullStackTrace(boolean) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
Sets the flag to require full stack traces for logging abandoned connections when enabled.
setRequireFullStackTrace(boolean) - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
Configures the stack trace generation strategy based on whether or not fully detailed stack traces are required.
setRequireFullStackTrace(boolean) - Method in interface org.apache.commons.pool2.PooledObject
Sets the stack trace generation strategy based on whether or not fully detailed stack traces are required.
setReuseCapacityOnMaintenance(boolean) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets whether to call GenericKeyedObjectPool.reuseCapacity() during pool maintenance (eviction).
setReuseCapacityOnMaintenance(boolean) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the reuseCapacityOnMaintenance configuration attribute for pools created with this configuration instance.
setReuseCapacityOnReturn(boolean) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
Sets whether to call GenericKeyedObjectPool.reuseCapacity() when returning objects to the pool.
setReuseCapacityOnReturn(boolean) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
Sets the value for the reuseCapacityOnReturn configuration attribute for pools created with this configuration instance.
setScheduledFuture(ScheduledFuture<?>) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
Sets the scheduled future.
setSoftMinEvictableIdle(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setSoftMinEvictableIdleDuration(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)), with the extra condition that at least minIdle object instances remain in the pool.
setSoftMinEvictableIdleDuration(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the softMinEvictableIdleTime configuration attribute for pools created with this configuration instance.
setSoftMinEvictableIdleTime(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setSoftMinEvictableIdleTime(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setSwallowedExceptionListener(SwallowedExceptionListener) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets the listener used (if any) to receive notifications of exceptions unavoidably swallowed by the pool.
setTestOnBorrow(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether objects borrowed from the pool will be validated before being returned from the borrowObject() method.
setTestOnBorrow(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the testOnBorrow configuration attribute for pools created with this configuration instance.
setTestOnCreate(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether objects created for the pool will be validated before being returned from the borrowObject() method.
setTestOnCreate(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the testOnCreate configuration attribute for pools created with this configuration instance.
setTestOnReturn(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether objects borrowed from the pool will be validated when they are returned to the pool via the returnObject() method.
setTestOnReturn(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the testOnReturn configuration attribute for pools created with this configuration instance.
setTestWhileIdle(boolean) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Sets whether objects sitting idle in the pool will be validated by the idle object evictor (if any - see BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration)).
setTestWhileIdle(boolean) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the testWhileIdle configuration attribute for pools created with this configuration instance.
setTimeBetweenEvictionRuns(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setTimeBetweenEvictionRuns(Duration) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
Sets the value for the timeBetweenEvictionRuns configuration attribute for pools created with this configuration instance.
setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
setUseUsageTracking(boolean) - Method in class org.apache.commons.pool2.impl.AbandonedConfig
If the pool implements UsageTracking, configure whether the pool should record a stack trace every time a method is called on a pooled object and retain the most recent stack trace to aid debugging of abandoned objects.
size - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
size() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns the number of elements in this deque.
snapshot - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack
 
snapshot - Variable in class org.apache.commons.pool2.impl.ThrowableCallStack
 
Snapshot() - Constructor for class org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
Constructs a new instance with its message set to the now instant.
Snapshot(Instant) - Constructor for class org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
Constructs a new instance and use the timestamp as the message with using DateTimeFormatter.ISO_INSTANT for more precision.
Snapshot(List<WeakReference<Class<?>>>) - Constructor for class org.apache.commons.pool2.impl.SecurityManagerCallStack.Snapshot
Constructs a new snapshot with a class stack.
softMinEvictableIdleDuration - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
softMinEvictableIdleDuration - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
SoftReferenceObjectPool<T> - Class in org.apache.commons.pool2.impl
A SoftReference based ObjectPool.
SoftReferenceObjectPool(PooledObjectFactory<T>) - Constructor for class org.apache.commons.pool2.impl.SoftReferenceObjectPool
Constructs a SoftReferenceObjectPool with the specified factory.
stack - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack.Snapshot
 
startEvictionTest() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
startEvictionTest() - Method in interface org.apache.commons.pool2.PooledObject
Attempts to place the pooled object in the PooledObjectState.EVICTION state.
startEvictor(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Starts the evictor with the given delay.
state - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
StatsStore(int) - Constructor for class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
Constructs a new instance with the given cache size.
stopEvictor() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Stops the evictor.
succ(LinkedBlockingDeque.Node<E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
Returns the successor node of the given non-null, but possibly previously deleted, node.
superclass - Variable in class org.apache.commons.pool2.proxy.CglibProxySource
 
swallowedExceptionListener - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
SwallowedExceptionListener - Interface in org.apache.commons.pool2
Pools that unavoidably swallow exceptions may be configured with an instance of this listener so the user may receive notification of when this happens.
swallowException(Exception) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Swallows an exception and notifies the configured listener for swallowed exceptions queue.
SynchronizedKeyedObjectPool(KeyedObjectPool<K, V>) - Constructor for class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
Creates a new SynchronizedKeyedObjectPool wrapping the given pool
synchronizedKeyedPooledFactory(KeyedPooledObjectFactory<K, V>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by the specified KeyedPooledObjectFactory.
SynchronizedKeyedPooledObjectFactory(KeyedPooledObjectFactory<K, V>) - Constructor for class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Creates a SynchronizedKeyedPooledObjectFactory wrapping the given factory.
SynchronizedObjectPool(ObjectPool<T>) - Constructor for class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
Creates a new SynchronizedObjectPool wrapping the given pool.
synchronizedPool(KeyedObjectPool<K, V>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.
synchronizedPool(ObjectPool<T>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
synchronizedPooledFactory(PooledObjectFactory<T>) - Static method in class org.apache.commons.pool2.PoolUtils
Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.
SynchronizedPooledObjectFactory(PooledObjectFactory<T>) - Constructor for class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Creates a SynchronizedPoolableObjectFactory wrapping the given factory.
systemClock - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 

T

take() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting until there is an element to unlink if the queue is empty.
takeFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the first element in the queue, waiting until there is an element to unlink if the queue is empty.
takeLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the last element in the queue, waiting until there is an element to unlink if the queue is empty.
TASK_MAP - Static variable in class org.apache.commons.pool2.impl.EvictionTimer
Keys are weak references to tasks, values are runners managed by executor.
testOnBorrow - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
testOnBorrow - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
testOnCreate - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
testOnCreate - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
testOnReturn - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
testOnReturn - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
testWhileIdle - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
testWhileIdle - Variable in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
ThrowableCallStack - Class in org.apache.commons.pool2.impl
CallStack strategy that uses the stack trace from a Throwable.
ThrowableCallStack(String, boolean) - Constructor for class org.apache.commons.pool2.impl.ThrowableCallStack
Creates a new instance.
ThrowableCallStack.Snapshot - Class in org.apache.commons.pool2.impl
A snapshot of a throwable.
TimerHolder() - Constructor for class org.apache.commons.pool2.PoolUtils.TimerHolder
 
timestamp - Variable in class org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
 
timestampMillis - Variable in class org.apache.commons.pool2.impl.SecurityManagerCallStack.Snapshot
 
toArray() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).
toArray(T[]) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
toChronoUnit(TimeUnit) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Converts a TimeUnit to a ChronoUnit.
toDuration(long, TimeUnit) - Static method in class org.apache.commons.pool2.impl.PoolImplUtils
Converts am amount and TimeUnit into a Duration.
toString() - Method in class org.apache.commons.pool2.BaseObject
 
toString() - Method in class org.apache.commons.pool2.impl.AbandonedConfig
 
toString() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.Evictor
 
toString() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
 
toString() - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
toString() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
toString() - Method in class org.apache.commons.pool2.impl.DefaultPooledObjectInfo
 
toString() - Method in class org.apache.commons.pool2.impl.EvictionConfig
 
toString() - Method in class org.apache.commons.pool2.impl.EvictionTimer
 
toString() - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool.ObjectDeque
 
toString() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
 
toString() - Method in class org.apache.commons.pool2.impl.PooledSoftReference
 
toString() - Method in interface org.apache.commons.pool2.PooledObject
Gets a String form of the wrapper for debug purposes.
toString() - Method in class org.apache.commons.pool2.PoolUtils.ErodingFactor
toString() - Method in class org.apache.commons.pool2.PoolUtils.ErodingKeyedObjectPool
toString() - Method in class org.apache.commons.pool2.PoolUtils.ErodingObjectPool
toString() - Method in class org.apache.commons.pool2.PoolUtils.ErodingPerKeyKeyedObjectPool
toString() - Method in class org.apache.commons.pool2.PoolUtils.KeyedObjectPoolMinIdleTimerTask
toString() - Method in class org.apache.commons.pool2.PoolUtils.ObjectPoolMinIdleTimerTask
toString() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedObjectPool
toString() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
toString() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedObjectPool
toString() - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
toString() - Method in class org.apache.commons.pool2.proxy.BaseProxyHandler
 
toString() - Method in class org.apache.commons.pool2.proxy.CglibProxySource
 
toString() - Method in class org.apache.commons.pool2.proxy.JdkProxySource
 
toString() - Method in class org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool
 
toString() - Method in class org.apache.commons.pool2.proxy.ProxiedObjectPool
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.BaseObject
Used by sub-classes to include the fields defined by the sub-class in the BaseObject.toString() output.
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.BaseObjectPool
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.BaseObjectPoolConfig
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.GenericObjectPoolConfig
 
toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.SoftReferenceObjectPool
 
TrackedUse - Interface in org.apache.commons.pool2
Allows pooled objects to make information available about when and how they were used available to the object pool.

U

unlink(LinkedBlockingDeque.Node<E>) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Unlinks the provided node.
unlinkFirst() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Removes and returns the first element, or null if empty.
unlinkLast() - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Removes and returns the last element, or null if empty.
unwrap(PooledObject<T>) - Static method in class org.apache.commons.pool2.impl.BaseGenericObjectPool.IdentityWrapper
Creates a new instance for the object inside a PooledObject.
update(long, int) - Method in class org.apache.commons.pool2.PoolUtils.ErodingFactor
Updates internal state using the supplied time and numIdle.
updateStatsBorrow(PooledObject<T>, Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Updates statistics after an object is borrowed from the pool.
updateStatsReturn(Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Updates statistics after an object is returned to the pool.
usageTracking - Variable in class org.apache.commons.pool2.proxy.BaseProxyHandler
 
UsageTracking<T> - Interface in org.apache.commons.pool2
This interface may be implemented by an object pool to enable clients (primarily those clients that wrap pools to provide pools with extended features) to provide additional information to the pool relating to object using allowing more informed decisions and reporting to be made regarding abandoned objects.
use() - Method in class org.apache.commons.pool2.impl.DefaultPooledObject
 
use() - Method in interface org.apache.commons.pool2.PooledObject
Records the current stack trace as the last time the object was used.
use(T) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
use(T) - Method in class org.apache.commons.pool2.impl.GenericObjectPool
 
use(T) - Method in interface org.apache.commons.pool2.UsageTracking
Called every time a pooled object is used to enable the pool to better track borrowed objects.
usedBy - Variable in class org.apache.commons.pool2.impl.DefaultPooledObject
 
useUsageTracking - Variable in class org.apache.commons.pool2.impl.AbandonedConfig
If the pool implements UsageTracking, should the pool record a stack trace every time a method is called on a pooled object and retain the most recent stack trace to aid debugging of abandoned objects?

V

validateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(K, PooledObject<V>) - Method in interface org.apache.commons.pool2.KeyedPooledObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(K, PooledObject<V>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.BasePooledObjectFactory
Always returns true.
validateObject(PooledObject<T>) - Method in interface org.apache.commons.pool2.PooledObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateObject(PooledObject<T>) - Method in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Ensures that the instance is safe to be returned by the pool.
validateProxiedObject() - Method in class org.apache.commons.pool2.proxy.BaseProxyHandler
Check that the proxy is still valid (i.e.
VALIDATION - org.apache.commons.pool2.PooledObjectState
In the queue, currently being validated.
VALIDATION_PREALLOCATED - org.apache.commons.pool2.PooledObjectState
Not in queue, currently being validated.
VALIDATION_RETURN_TO_HEAD - org.apache.commons.pool2.PooledObjectState
Not in queue, currently being validated.
valueOf(String) - Static method in enum org.apache.commons.pool2.DestroyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.commons.pool2.PooledObjectState
Returns the enum constant of this type with the specified name.
values - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool.StatsStore
 
values() - Static method in enum org.apache.commons.pool2.DestroyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.commons.pool2.PooledObjectState
Returns an array containing the constants of this enum type, in the order they are declared.

W

wait(Object, Duration) - Method in class org.apache.commons.pool2.impl.BaseGenericObjectPool
Waits for notification on the given object for the specified duration.
waitTimes - Variable in class org.apache.commons.pool2.impl.BaseGenericObjectPool
 
WeakRunner(WeakReference<R>) - Constructor for class org.apache.commons.pool2.impl.EvictionTimer.WeakRunner
Constructs a new instance to track the given reference.
whenWaitersAddObject(K, LinkedBlockingDeque<PooledObject<T>>) - Method in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
When there is at least one thread waiting on the given deque, try to add an instance to pool under the given key.
wrap(T) - Method in class org.apache.commons.pool2.BasePooledObjectFactory
Wraps the provided instance with an implementation of PooledObject.
wrap(V) - Method in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
Wraps the provided instance with an implementation of PooledObject.
writeLock - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedKeyedPooledObjectFactory
Synchronization lock
writeLock - Variable in class org.apache.commons.pool2.PoolUtils.SynchronizedPooledObjectFactory
Synchronization lock
writeObject(ObjectOutputStream) - Method in class org.apache.commons.pool2.impl.LinkedBlockingDeque
Saves the state of this deque to a stream (that is, serialize it).

Z

ZERO - Static variable in class org.apache.commons.pool2.impl.GenericKeyedObjectPool
 
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes All Packages