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.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 with type parameters of type ObjectPool Modifier and Type Field Description protected static HashMap<String,ObjectPool<? extends 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 Connection>PoolingDriver. getConnectionPool(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(String name, ObjectPool<? extends 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(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName)PoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation)PoolingDataSource(ObjectPool<C> pool)Constructs a new instance backed by the given connection 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.Methods 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> 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. -
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.
-