Skip navigation links
A B C E G I L O P R S T U V 

A

addObject() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Creates an object, and place it into the pool.

B

borrowObject() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Equivalent to borrowObject(BaseGenericObjectPool.getMaxWaitMillis()).
borrowObject(long) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Borrows an object from the pool using the specific waiting time which only applies if BaseGenericObjectPool.getBlockWhenExhausted() is true.

C

clear() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
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.
close() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Closes the pool.
com.palantir.atlasdb - package com.palantir.atlasdb
 
CommonsPoolGenericObjectPool<T> - Class in org.apache.commons.pool2.impl
A configurable ObjectPool implementation.
CommonsPoolGenericObjectPool(PooledObjectFactory<T>) - Constructor for class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Creates a new GenericObjectPool using defaults from GenericObjectPoolConfig.
CommonsPoolGenericObjectPool(PooledObjectFactory<T>, GenericObjectPoolConfig<T>) - Constructor for class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Creates a new GenericObjectPool using a specific configuration.
CommonsPoolGenericObjectPool(PooledObjectFactory<T>, GenericObjectPoolConfig<T>, AbandonedConfig) - Constructor for class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Creates a new GenericObjectPool that tracks and destroys objects that are checked out, but never returned to the pool.

E

evict() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool

G

getFactory() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Obtains a reference to the factory used to create, destroy and validate the objects used by this pool.
getFactoryType() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Returns the type - including the specific type rather than the generic - of the factory.
getLogAbandoned() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Gets whether this pool identifies and logs any abandoned objects.
getMaxIdle() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Returns the cap on the number of "idle" instances in the pool.
getMinIdle() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Returns the target for the minimum number of idle objects to maintain in the pool.
getNumActive() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
 
getNumIdle() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
 
getNumWaiters() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Returns an estimate of the number of threads currently blocked waiting for an object from the pool.
getRemoveAbandonedOnBorrow() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Gets whether a check is made for abandoned objects when an object is borrowed from this pool.
getRemoveAbandonedOnMaintenance() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Gets whether a check is made for abandoned objects when the evictor runs.
getRemoveAbandonedTimeout() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Obtains the timeout before which an object will be considered to be abandoned by this pool.

I

invalidateObject(T) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
invalidateObject(T, DestroyMode) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
isAbandonedConfig() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Gets whether or not abandoned object removal is configured for this pool.

L

listAllObjects() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Provides information on all the objects in the pool, both idle (waiting to be borrowed) and active (currently borrowed).

O

ObjectPoolLogging - Enum in com.palantir.atlasdb
 
org.apache.commons.pool2.impl - package org.apache.commons.pool2.impl
 

P

preparePool() - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Tries to ensure that getMinIdle() idle instances are available in the pool.

R

returnObject(T) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool

S

setAbandonedConfig(AbandonedConfig) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Sets the abandoned object removal configuration.
setConfig(GenericObjectPoolConfig<T>) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Sets the base pool configuration.
setMaxIdle(int) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Returns the cap on the number of "idle" instances in the pool.
setMinIdle(int) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
Sets the target for the minimum number of idle objects to maintain in the pool.

T

toStringAppendFields(StringBuilder) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
 

U

use(T) - Method in class org.apache.commons.pool2.impl.CommonsPoolGenericObjectPool
 

V

valueOf(String) - Static method in enum com.palantir.atlasdb.ObjectPoolLogging
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.palantir.atlasdb.ObjectPoolLogging
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G I L O P R S T U V 
Skip navigation links