Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.KeyedObjectPool
-
Packages that use KeyedObjectPool Package Description org.datanucleus.store.rdbms.datasource.dbcp2 This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.datasources This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.pool2 This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0. -
-
Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2
Fields in org.datanucleus.store.rdbms.datasource.dbcp2 declared as KeyedObjectPool Modifier and Type Field Description private KeyedObjectPool<PStmtKey,DelegatingPreparedStatement>
PoolableCallableStatement. pool
TheKeyedObjectPool
from which this CallableStatement was obtained.private KeyedObjectPool<K,PoolablePreparedStatement<K>>
PoolablePreparedStatement. pool
TheKeyedObjectPool
from which I was obtained.private KeyedObjectPool<PStmtKey,DelegatingPreparedStatement>
PoolingConnection. pstmtPool
Pool ofPreparedStatement
s.Methods in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type KeyedObjectPool Modifier and Type Method Description void
PoolingConnection. setStatementPool(KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool)
Sets the prepared statement pool.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type KeyedObjectPool Constructor Description PoolableCallableStatement(java.sql.CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool, DelegatingConnection<java.sql.Connection> connection)
Constructor.PoolablePreparedStatement(java.sql.PreparedStatement stmt, K key, KeyedObjectPool<K,PoolablePreparedStatement<K>> pool, DelegatingConnection<?> conn)
Constructor. -
Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter
Fields in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter declared as KeyedObjectPool Modifier and Type Field Description private KeyedObjectPool<PStmtKey,DelegatingPreparedStatement>
PooledConnectionImpl. pStmtPool
My pool ofPreparedStatement
s.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter with parameters of type KeyedObjectPool Modifier and Type Method Description void
PooledConnectionImpl. setStatementPool(KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> statementPool)
-
Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.datasources
Fields in org.datanucleus.store.rdbms.datasource.dbcp2.datasources declared as KeyedObjectPool Modifier and Type Field Description private KeyedObjectPool<UserPassKey,PooledConnectionAndInfo>
KeyedCPDSConnectionFactory. pool
private KeyedObjectPool<UserPassKey,PooledConnectionAndInfo>
SharedPoolDataSource. pool
Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that return KeyedObjectPool Modifier and Type Method Description KeyedObjectPool<UserPassKey,PooledConnectionAndInfo>
KeyedCPDSConnectionFactory. getPool()
Returns the keyed object pool used to pool connections created by this factory.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources with parameters of type KeyedObjectPool Modifier and Type Method Description void
KeyedCPDSConnectionFactory. setPool(KeyedObjectPool<UserPassKey,PooledConnectionAndInfo> pool)
-
Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.pool2
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that implement KeyedObjectPool Modifier and Type Class Description private static class
PoolUtils.ErodingKeyedObjectPool<K,V>
Decorates a keyed object pool, adding "eroding" behavior.private static class
PoolUtils.ErodingPerKeyKeyedObjectPool<K,V>
Extends ErodingKeyedObjectPool to allow erosion to take place on a per-key basis.private static class
PoolUtils.SynchronizedKeyedObjectPool<K,V>
A synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 declared as KeyedObjectPool Modifier and Type Field Description private KeyedObjectPool<K,V>
PoolUtils.ErodingKeyedObjectPool. keyedPool
Underlying poolprivate KeyedObjectPool<K,V>
PoolUtils.KeyedObjectPoolMinIdleTimerTask. keyedPool
Keyed object poolprivate KeyedObjectPool<K,V>
PoolUtils.SynchronizedKeyedObjectPool. keyedPool
Underlying object poolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that return KeyedObjectPool Modifier and Type Method Description static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool, float factor)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool, float factor, boolean perKey)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.protected KeyedObjectPool<K,V>
PoolUtils.ErodingKeyedObjectPool. getKeyedPool()
Returns the underlying poolstatic <K,V>
KeyedObjectPool<K,V>PoolUtils. synchronizedPool(KeyedObjectPool<K,V> keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type KeyedObjectPool Modifier and Type Method Description static <K,V>
java.util.Map<K,java.util.TimerTask>PoolUtils. checkMinIdle(KeyedObjectPool<K,V> keyedPool, java.util.Collection<K> keys, int minIdle, long period)
Periodically check the idle object count for each key in theCollection
keys
in the keyedPool.static <K,V>
java.util.TimerTaskPoolUtils. checkMinIdle(KeyedObjectPool<K,V> keyedPool, K key, int minIdle, long period)
Periodically check the idle object count for the key in the keyedPool.static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool, float factor)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <K,V>
KeyedObjectPool<K,V>PoolUtils. erodingPool(KeyedObjectPool<K,V> keyedPool, float factor, boolean perKey)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <K,V>
voidPoolUtils. prefill(KeyedObjectPool<K,V> keyedPool, java.util.Collection<K> keys, int count)
Deprecated.static <K,V>
voidPoolUtils. prefill(KeyedObjectPool<K,V> keyedPool, K key, int count)
Deprecated.static <K,V>
KeyedObjectPool<K,V>PoolUtils. synchronizedPool(KeyedObjectPool<K,V> keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type KeyedObjectPool Constructor Description ErodingKeyedObjectPool(KeyedObjectPool<K,V> keyedPool, float factor)
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.ErodingKeyedObjectPool(KeyedObjectPool<K,V> keyedPool, PoolUtils.ErodingFactor erodingFactor)
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.ErodingPerKeyKeyedObjectPool(KeyedObjectPool<K,V> keyedPool, float factor)
Creates a new ErordingPerKeyKeyedObjectPool decorating the given keyed pool with the specified erosion factor.KeyedObjectPoolMinIdleTimerTask(KeyedObjectPool<K,V> keyedPool, K key, int minIdle)
Creates a new KeyedObjecPoolMinIdleTimerTask.SynchronizedKeyedObjectPool(KeyedObjectPool<K,V> keyedPool)
Creates a new SynchronizedKeyedObjectPool wrapping the given pool -
Uses of KeyedObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that implement KeyedObjectPool Modifier and Type Class Description class
GenericKeyedObjectPool<K,T>
A configurableKeyedObjectPool
implementation.
-