|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use KeyedObjectPool | |
|---|---|
| org.datanucleus.store.rdbms.datasource.dbcp | |
| org.datanucleus.store.rdbms.datasource.dbcp.pool | |
| org.datanucleus.store.rdbms.datasource.dbcp.pool.impl | |
| Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp |
|---|
| Fields in org.datanucleus.store.rdbms.datasource.dbcp declared as KeyedObjectPool | |
|---|---|
protected KeyedObjectPool |
PoolablePreparedStatement._pool
The KeyedObjectPool from which I was obtained. |
protected KeyedObjectPool |
PoolingConnection._pstmtPool
Pool of PreparedStatements. |
| Constructors in org.datanucleus.store.rdbms.datasource.dbcp with parameters of type KeyedObjectPool | |
|---|---|
PoolableCallableStatement(CallableStatement stmt,
Object key,
KeyedObjectPool pool,
Connection conn)
Constructor. |
|
PoolablePreparedStatement(PreparedStatement stmt,
Object key,
KeyedObjectPool pool,
Connection conn)
Constructor |
|
PoolingConnection(Connection c,
KeyedObjectPool pool)
Constructor. |
|
| Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp.pool |
|---|
| Classes in org.datanucleus.store.rdbms.datasource.dbcp.pool that implement KeyedObjectPool | |
|---|---|
class |
BaseKeyedObjectPool
A simple base implementation of KeyedObjectPool. |
| Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool that return KeyedObjectPool | |
|---|---|
static KeyedObjectPool |
PoolUtils.adapt(ObjectPool pool)
Adapt an ObjectPool to work where an KeyedObjectPool is needed. |
static KeyedObjectPool |
PoolUtils.checkedPool(KeyedObjectPool keyedPool,
Class type)
Wraps a KeyedObjectPool and dynamically checks the type of objects borrowed and returned to the keyedPool. |
KeyedObjectPool |
KeyedObjectPoolFactory.createPool()
Create a new KeyedObjectPool. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.synchronizedPool(KeyedObjectPool keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
| Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool with parameters of type KeyedObjectPool | |
|---|---|
static ObjectPool |
PoolUtils.adapt(KeyedObjectPool keyedPool)
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed. |
static ObjectPool |
PoolUtils.adapt(KeyedObjectPool keyedPool,
Object key)
Adapt a KeyedObjectPool instance to work where an ObjectPool is needed using the
specified key when delegating. |
static KeyedObjectPool |
PoolUtils.checkedPool(KeyedObjectPool keyedPool,
Class type)
Wraps a KeyedObjectPool and dynamically checks the type of objects borrowed and returned to the keyedPool. |
static Map |
PoolUtils.checkMinIdle(KeyedObjectPool keyedPool,
Collection keys,
int minIdle,
long period)
Periodically check the idle object count for each key in the Collection keys in the keyedPool. |
static TimerTask |
PoolUtils.checkMinIdle(KeyedObjectPool keyedPool,
Object key,
int minIdle,
long period)
Periodically check the idle object count for the key in the keyedPool. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static KeyedObjectPool |
PoolUtils.erodingPool(KeyedObjectPool keyedPool,
float factor,
boolean perKey)
Returns a pool that adaptively decreases it's size when idle objects are no longer needed. |
static void |
PoolUtils.prefill(KeyedObjectPool keyedPool,
Collection keys,
int count)
Call addObject(Object) on keyedPool with each key in keys for
count number of times. |
static void |
PoolUtils.prefill(KeyedObjectPool keyedPool,
Object key,
int count)
Call addObject(Object) on keyedPool with key count
number of times. |
static KeyedObjectPool |
PoolUtils.synchronizedPool(KeyedObjectPool keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. |
| Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl |
|---|
| Classes in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl that implement KeyedObjectPool | |
|---|---|
class |
GenericKeyedObjectPool
A configurable KeyedObjectPool implementation. |
class |
StackKeyedObjectPool
A simple, Stack-based KeyedObjectPool implementation. |
| Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl that return KeyedObjectPool | |
|---|---|
KeyedObjectPool |
StackKeyedObjectPoolFactory.createPool()
Create a StackKeyedObjectPool with current property settings. |
KeyedObjectPool |
GenericKeyedObjectPoolFactory.createPool()
Create a new GenericKeyedObjectPool with the currently configured properties. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||