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. poolThe pool to which I should return.private ObjectPool<PoolableConnection>PoolableConnectionFactory. poolprivate ObjectPool<C>PoolingDataSource. poolprivate ObjectPool<? extends java.sql.Connection>PoolingDriver.PoolGuardConnectionWrapper. poolFields 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. poolsThe 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 theObjectPoolin whichConnections 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 voidPoolingDriver. registerPool(java.lang.String name, ObjectPool<? extends java.sql.Connection> pool)Registers a named pool.voidPoolableConnectionFactory. setPool(ObjectPool<PoolableConnection> pool)Sets theObjectPoolin which to poolConnections.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. poolMethods 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 voidCPDSConnectionFactory. 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 classBaseObjectPool<T>A simple base implementation ofObjectPool.private static classPoolUtils.ErodingObjectPool<T>Decorates an object pool, adding "eroding" behavior.private static classPoolUtils.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. poolUnderlying object poolprivate ObjectPool<T>PoolUtils.ObjectPoolMinIdleTimerTask. poolObject poolprivate ObjectPool<T>PoolUtils.SynchronizedObjectPool. poolthe 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.TimerTaskPoolUtils. 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> voidPoolUtils. 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 classGenericObjectPool<T>A configurableObjectPoolimplementation.classSoftReferenceObjectPool<T>ASoftReferencebasedObjectPool.
-