|
||||||||||
| 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<K,V>
A base implementation of KeyedPoolableObjectFactory. |
| Methods in org.apache.commons.pool that return KeyedPoolableObjectFactory | ||
|---|---|---|
static
|
PoolUtils.adapt(PoolableObjectFactory<V> factory)
Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is
needed. |
|
static
|
PoolUtils.synchronizedPoolableFactory(KeyedPoolableObjectFactory<K,V> keyedFactory)
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory. |
|
| Methods in org.apache.commons.pool with parameters of type KeyedPoolableObjectFactory | ||
|---|---|---|
static
|
PoolUtils.adapt(KeyedPoolableObjectFactory<K,V> keyedFactory,
K key)
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is
needed using the specified key when delegating. |
|
static
|
PoolUtils.adapt(KeyedPoolableObjectFactory<Object,V> keyedFactory)
Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is
needed. |
|
void |
KeyedObjectPool.setFactory(KeyedPoolableObjectFactory<K,V> factory)
Deprecated. to be removed in pool 2.0 |
|
void |
BaseKeyedObjectPool.setFactory(KeyedPoolableObjectFactory<K,V> factory)
Deprecated. to be removed in pool 2.0 |
|
static
|
PoolUtils.synchronizedPoolableFactory(KeyedPoolableObjectFactory<K,V> 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<K,V> |
StackKeyedObjectPoolFactory._factory
Deprecated. to be removed in pool 2.0 |
protected KeyedPoolableObjectFactory<K,V> |
StackKeyedObjectPool._factory
Deprecated. to be removed in pool 2.0. Use StackKeyedObjectPool.getFactory() |
protected KeyedPoolableObjectFactory<K,V> |
GenericKeyedObjectPoolFactory._factory
Deprecated. to be removed in pool 2.0. Use GenericKeyedObjectPoolFactory.getFactory(). |
| Methods in org.apache.commons.pool.impl that return KeyedPoolableObjectFactory | |
|---|---|
KeyedPoolableObjectFactory<K,V> |
StackKeyedObjectPoolFactory.getFactory()
Returns the KeyedPoolableObjectFactory used by StackKeyedObjectPools created by this factory |
KeyedPoolableObjectFactory<K,V> |
StackKeyedObjectPool.getFactory()
|
KeyedPoolableObjectFactory<K,V> |
GenericKeyedObjectPoolFactory.getFactory()
|
| Methods in org.apache.commons.pool.impl with parameters of type KeyedPoolableObjectFactory | |
|---|---|
void |
StackKeyedObjectPool.setFactory(KeyedPoolableObjectFactory<K,V> factory)
Deprecated. to be removed in pool 2.0 |
void |
GenericKeyedObjectPool.setFactory(KeyedPoolableObjectFactory<K,V> factory)
Deprecated. to be removed in version 2.0 |
| Constructors in org.apache.commons.pool.impl with parameters of type KeyedPoolableObjectFactory | |
|---|---|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
GenericKeyedObjectPool.Config config)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int maxActive)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPool using the specified values. |
|
GenericKeyedObjectPool(KeyedPoolableObjectFactory<K,V> 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<K,V> 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<K,V> 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<K,V> 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<K,V> factory)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
GenericKeyedObjectPool.Config config)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxActive)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> 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<K,V> factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int maxTotal)
Create a new GenericKeyedObjectPoolFactory. |
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> 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<K,V> 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<K,V> 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<K,V> factory)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int max)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPool(KeyedPoolableObjectFactory<K,V> factory,
int max,
int init)
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory)
Create a new StackKeyedObjectPoolFactory. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxSleeping)
Create a new StackKeyedObjectPoolFactory. |
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory<K,V> factory,
int maxSleeping,
int initialCapacity)
Create a new StackKeyedObjectPoolFactory. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||