|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use KeyedPoolableObjectFactory | |
|---|---|
| org.apache.commons.pool | Object pooling API. |
| org.apache.commons.pool.impl | Object pooling API implementations. |
| Uses of KeyedPoolableObjectFactory in org.apache.commons.pool |
|---|
| Classes in org.apache.commons.pool that implement KeyedPoolableObjectFactory | |
|---|---|
class |
BaseKeyedPoolableObjectFactory
A base implementation of KeyedPoolableObjectFactory. |
| Methods in org.apache.commons.pool that return KeyedPoolableObjectFactory | |
|---|---|
static KeyedPoolableObjectFactory |
PoolUtils.adapt(PoolableObjectFactory factory)
Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is
needed. |
static KeyedPoolableObjectFactory |
PoolUtils.synchronizedPoolableFactory(KeyedPoolableObjectFactory keyedFactory)
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory. |
| Methods in org.apache.commons.pool with parameters of type KeyedPoolableObjectFactory | |
|---|---|
static PoolableObjectFactory |
PoolUtils.adapt(KeyedPoolableObjectFactory keyedFactory)
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is
needed. |
static PoolableObjectFactory |
PoolUtils.adapt(KeyedPoolableObjectFactory keyedFactory,
Object key)
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is
needed using the specified key when delegating. |
void |
KeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated. to be removed in pool 2.0 |
void |
BaseKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated. to be removed in pool 2.0 |
static KeyedPoolableObjectFactory |
PoolUtils.synchronizedPoolableFactory(KeyedPoolableObjectFactory keyedFactory)
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory. |
| Uses of KeyedPoolableObjectFactory in org.apache.commons.pool.impl |
|---|
| Fields in org.apache.commons.pool.impl declared as KeyedPoolableObjectFactory | |
|---|---|
protected KeyedPoolableObjectFactory |
StackKeyedObjectPoolFactory._factory
Deprecated. to be removed in pool 2.0 |
protected KeyedPoolableObjectFactory |
StackKeyedObjectPool._factory
Deprecated. to be removed in pool 2.0. Use StackKeyedObjectPool.getFactory() |
protected KeyedPoolableObjectFactory |
GenericKeyedObjectPoolFactory._factory
Deprecated. to be removed in pool 2.0. Use GenericKeyedObjectPoolFactory.getFactory(). |
| Methods in org.apache.commons.pool.impl that return KeyedPoolableObjectFactory | |
|---|---|
KeyedPoolableObjectFactory |
StackKeyedObjectPoolFactory.getFactory()
Returns the KeyedPoolableObjectFactory used by StackKeyedObjectPools created by this factory |
KeyedPoolableObjectFactory |
StackKeyedObjectPool.getFactory()
|
KeyedPoolableObjectFactory |
GenericKeyedObjectPoolFactory.getFactory()
|
| Methods in org.apache.commons.pool.impl with parameters of type KeyedPoolableObjectFactory | |
|---|---|
void |
StackKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated. to be removed in pool 2.0 |
void |
GenericKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated. to be removed in version 2.0 |
| Constructors in org.apache.commons.pool.impl with parameters of type KeyedPoolableObjectFactory | |
|---|---|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
GenericKeyedObjectPool.Config config)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle,
boolean lifo)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
GenericKeyedObjectPool.Config config)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle,
boolean lifo)
Create a new GenericKeyedObjectPoolFactory. |
|
StackKeyedObjectPool(KeyedPoolableObjectFactory factory)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPool(KeyedPoolableObjectFactory factory,
int max)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPool(KeyedPoolableObjectFactory factory,
int max,
int init)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
Create a new StackKeyedObjectPoolFactory. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxSleeping)
Create a new StackKeyedObjectPoolFactory. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxSleeping,
int initialCapacity)
Create a new StackKeyedObjectPoolFactory. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||