Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.ObjectPool
-
Packages that use ObjectPool 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.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 ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2
Fields in org.datanucleus.store.rdbms.datasource.dbcp2 declared as ObjectPool Modifier and Type Field Description private ObjectPool<PoolableConnection>
PoolableConnection. pool
The pool to which I should return.private ObjectPool<PoolableConnection>
PoolableConnectionFactory. pool
private ObjectPool<C>
PoolingDataSource. pool
private ObjectPool<? extends java.sql.Connection>
PoolingDriver.PoolGuardConnectionWrapper. pool
Fields in org.datanucleus.store.rdbms.datasource.dbcp2 with type parameters of type ObjectPool Modifier and Type Field Description protected static java.util.HashMap<java.lang.String,ObjectPool<? extends java.sql.Connection>>
PoolingDriver. pools
The map of registered pools.Methods in org.datanucleus.store.rdbms.datasource.dbcp2 that return ObjectPool Modifier and Type Method Description ObjectPool<? extends java.sql.Connection>
PoolingDriver. getConnectionPool(java.lang.String name)
Gets the connection pool for the given name.ObjectPool<PoolableConnection>
PoolableConnectionFactory. getPool()
Returns theObjectPool
in whichConnection
s are pooled.protected ObjectPool<C>
PoolingDataSource. getPool()
Methods in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type ObjectPool Modifier and Type Method Description void
PoolingDriver. registerPool(java.lang.String name, ObjectPool<? extends java.sql.Connection> pool)
Registers a named pool.void
PoolableConnectionFactory. setPool(ObjectPool<PoolableConnection> pool)
Sets theObjectPool
in which to poolConnection
s.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type ObjectPool Constructor Description PoolableConnection(java.sql.Connection conn, ObjectPool<PoolableConnection> pool, javax.management.ObjectName jmxName)
PoolableConnection(java.sql.Connection conn, ObjectPool<PoolableConnection> pool, javax.management.ObjectName jmxObjectName, java.util.Collection<java.lang.String> disconnectSqlCodes, boolean fastFailValidation)
PoolGuardConnectionWrapper(ObjectPool<? extends java.sql.Connection> pool, java.sql.Connection delegate)
PoolingDataSource(ObjectPool<C> pool)
Constructs a new instance backed by the given connection pool. -
Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.datasources
Fields in org.datanucleus.store.rdbms.datasource.dbcp2.datasources declared as ObjectPool Modifier and Type Field Description private ObjectPool<PooledConnectionAndInfo>
CPDSConnectionFactory. pool
Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that return ObjectPool Modifier and Type Method Description private ObjectPool<PooledConnectionAndInfo>
PerUserPoolDataSource. getCPDSConnectionFactoryPool(PooledConnectionManager manager)
ObjectPool<PooledConnectionAndInfo>
CPDSConnectionFactory. getPool()
Returns the object pool used to pool connections created by this factory.private ObjectPool<PooledConnectionAndInfo>
PerUserPoolDataSource. getPool(PoolKey poolKey)
Returns the object pool associated with the given PoolKey.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources with parameters of type ObjectPool Modifier and Type Method Description void
CPDSConnectionFactory. setPool(ObjectPool<PooledConnectionAndInfo> pool)
-
Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.pool2
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that implement ObjectPool Modifier and Type Class Description class
BaseObjectPool<T>
A simple base implementation ofObjectPool
.private static class
PoolUtils.ErodingObjectPool<T>
Decorates an object pool, adding "eroding" behavior.private static class
PoolUtils.SynchronizedObjectPool<T>
A synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 declared as ObjectPool Modifier and Type Field Description private ObjectPool<T>
PoolUtils.ErodingObjectPool. pool
Underlying object poolprivate ObjectPool<T>
PoolUtils.ObjectPoolMinIdleTimerTask. pool
Object poolprivate ObjectPool<T>
PoolUtils.SynchronizedObjectPool. pool
the underlying object poolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that return ObjectPool Modifier and Type Method Description static <T> ObjectPool<T>
PoolUtils. erodingPool(ObjectPool<T> pool)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <T> ObjectPool<T>
PoolUtils. erodingPool(ObjectPool<T> pool, float factor)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <T> ObjectPool<T>
PoolUtils. synchronizedPool(ObjectPool<T> pool)
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type ObjectPool Modifier and Type Method Description static <T> java.util.TimerTask
PoolUtils. checkMinIdle(ObjectPool<T> pool, int minIdle, long period)
Periodically check the idle object count for the pool.static <T> ObjectPool<T>
PoolUtils. erodingPool(ObjectPool<T> pool)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <T> ObjectPool<T>
PoolUtils. erodingPool(ObjectPool<T> pool, float factor)
Returns a pool that adaptively decreases its size when idle objects are no longer needed.static <T> void
PoolUtils. prefill(ObjectPool<T> pool, int count)
Deprecated.UseaddObjects(int)
.static <T> ObjectPool<T>
PoolUtils. synchronizedPool(ObjectPool<T> pool)
Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type ObjectPool Constructor Description ErodingObjectPool(ObjectPool<T> pool, float factor)
Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.ObjectPoolMinIdleTimerTask(ObjectPool<T> pool, int minIdle)
Create a new ObjectPoolMinIdleTimerTask for the given pool with the given minIdle setting.SynchronizedObjectPool(ObjectPool<T> pool)
Creates a new SynchronizedObjectPool wrapping the given pool. -
Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that implement ObjectPool Modifier and Type Class Description class
GenericObjectPool<T>
A configurableObjectPool
implementation.class
SoftReferenceObjectPool<T>
ASoftReference
basedObjectPool
.
-