Package | Description |
---|---|
org.datanucleus.store.rdbms.datasource.dbcp |
Repackaged Apache DBCP connection pool.
|
org.datanucleus.store.rdbms.datasource.dbcp.pool |
Repackaged Apache DBCP connection pool.
|
org.datanucleus.store.rdbms.datasource.dbcp.pool.impl |
Repackaged Apache DBCP connection pool.
|
Modifier and Type | Class and Description |
---|---|
class |
PoolingConnection
A
DelegatingConnection that pools PreparedStatement s. |
Modifier and Type | Class and Description |
---|---|
class |
BaseKeyedPoolableObjectFactory
A base implementation of
KeyedPoolableObjectFactory . |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
BaseKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory) |
void |
KeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory) |
static KeyedPoolableObjectFactory |
PoolUtils.synchronizedPoolableFactory(KeyedPoolableObjectFactory keyedFactory)
Returns a synchronized (thread-safe) KeyedPoolableObjectFactory backed by the specified KeyedPoolableObjectFactory.
|
Modifier and Type | Field and Description |
---|---|
protected KeyedPoolableObjectFactory |
StackKeyedObjectPool._factory
Deprecated.
to be removed in pool 2.0. Use
StackKeyedObjectPool.getFactory() |
protected KeyedPoolableObjectFactory |
StackKeyedObjectPoolFactory._factory
Deprecated.
to be removed in pool 2.0
|
protected KeyedPoolableObjectFactory |
GenericKeyedObjectPoolFactory._factory
Deprecated.
to be removed in pool 2.0. Use
GenericKeyedObjectPoolFactory.getFactory() . |
Modifier and Type | Method and Description |
---|---|
KeyedPoolableObjectFactory |
StackKeyedObjectPool.getFactory() |
KeyedPoolableObjectFactory |
StackKeyedObjectPoolFactory.getFactory()
Returns the KeyedPoolableObjectFactory used by StackKeyedObjectPools created by this factory
|
KeyedPoolableObjectFactory |
GenericKeyedObjectPoolFactory.getFactory() |
Modifier and Type | Method and Description |
---|---|
void |
GenericKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated.
to be removed in version 2.0
|
void |
StackKeyedObjectPool.setFactory(KeyedPoolableObjectFactory factory)
Deprecated.
to be removed in pool 2.0
|
Constructor and Description |
---|
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.
|
Copyright © 2015. All rights reserved.