Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.KeyedObjectPool
Packages that use KeyedObjectPool
Package
Description
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
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 KeyedObjectPoolModifier and TypeFieldDescriptionprivate final KeyedObjectPool
<PStmtKey, DelegatingPreparedStatement> PoolableCallableStatement.pool
TheKeyedObjectPool
from which this CallableStatement was obtained.private final KeyedObjectPool
<K, PoolablePreparedStatement<K>> PoolablePreparedStatement.pool
TheKeyedObjectPool
from which I was obtained.PoolingConnection.pstmtPool
Pool ofPreparedStatement
s.Methods in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type KeyedObjectPoolModifier and TypeMethodDescriptionvoid
PoolingConnection.setStatementPool
(KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool) Sets the prepared statement pool.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type KeyedObjectPoolModifierConstructorDescriptionPoolableCallableStatement
(CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructor.PoolablePreparedStatement
(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 KeyedObjectPoolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter with parameters of type KeyedObjectPoolModifier and TypeMethodDescriptionvoid
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 KeyedObjectPoolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that return KeyedObjectPoolModifier and TypeMethodDescriptionKeyedCPDSConnectionFactory.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 KeyedObjectPoolModifier and TypeMethodDescriptionvoid
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 KeyedObjectPoolModifier and TypeClassDescriptionprivate static class
Decorates a keyed object pool, adding "eroding" behavior.private static final class
Extends ErodingKeyedObjectPool to allow erosion to take place on a per-key basis.private static final class
A synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 declared as KeyedObjectPoolModifier and TypeFieldDescriptionprivate final KeyedObjectPool
<K, V> PoolUtils.ErodingKeyedObjectPool.keyedPool
Underlying poolprivate final KeyedObjectPool
<K, V> PoolUtils.KeyedObjectPoolMinIdleTimerTask.keyedPool
Keyed object poolprivate final KeyedObjectPool
<K, V> PoolUtils.SynchronizedKeyedObjectPool.keyedPool
Underlying object poolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that return KeyedObjectPoolModifier and TypeMethodDescriptionstatic <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 KeyedObjectPoolModifier and TypeMethodDescriptionPoolUtils.checkMinIdle
(KeyedObjectPool<K, V> keyedPool, 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> TimerTask PoolUtils.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> void PoolUtils.prefill
(KeyedObjectPool<K, V> keyedPool, Collection<K> keys, int count) Deprecated.static <K,
V> void PoolUtils.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 KeyedObjectPoolModifierConstructorDescriptionErodingKeyedObjectPool
(KeyedObjectPool<K, V> keyedPool, float factor) Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.protected
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.(package private)
KeyedObjectPoolMinIdleTimerTask
(KeyedObjectPool<K, V> keyedPool, K key, int minIdle) Creates a new KeyedObjecPoolMinIdleTimerTask.(package private)
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 KeyedObjectPoolModifier and TypeClassDescriptionclass
A configurableKeyedObjectPool
implementation.
addObjects(Collection, int)
.