Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.ObjectPool
Packages that use ObjectPool
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.
-
Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp2
Fields in org.datanucleus.store.rdbms.datasource.dbcp2 declared as ObjectPoolModifier and TypeFieldDescriptionprivate final ObjectPool
<PoolableConnection> PoolableConnection.pool
The pool to which I should return.private ObjectPool
<PoolableConnection> PoolableConnectionFactory.pool
private final ObjectPool
<C> PoolingDataSource.pool
private final ObjectPool
<? extends Connection> PoolingDriver.PoolGuardConnectionWrapper.pool
Fields in org.datanucleus.store.rdbms.datasource.dbcp2 with type parameters of type ObjectPoolModifier and TypeFieldDescriptionprotected static final HashMap
<String, ObjectPool<? extends Connection>> PoolingDriver.pools
The map of registered pools.Methods in org.datanucleus.store.rdbms.datasource.dbcp2 that return ObjectPoolModifier and TypeMethodDescriptionObjectPool
<? extends Connection> PoolingDriver.getConnectionPool
(String name) Gets the connection pool for the given name.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 ObjectPoolModifier and TypeMethodDescriptionvoid
PoolingDriver.registerPool
(String name, ObjectPool<? extends 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 ObjectPoolModifierConstructorDescriptionPoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName) PoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation) (package private)
PoolGuardConnectionWrapper
(ObjectPool<? extends Connection> pool, 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 ObjectPoolModifier and TypeFieldDescriptionprivate ObjectPool
<PooledConnectionAndInfo> CPDSConnectionFactory.pool
Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that return ObjectPoolModifier and TypeMethodDescriptionprivate ObjectPool
<PooledConnectionAndInfo> PerUserPoolDataSource.getCPDSConnectionFactoryPool
(PooledConnectionManager manager) CPDSConnectionFactory.getPool()
Returns the object pool used to pool connections created by this factory.private ObjectPool
<PooledConnectionAndInfo> Returns the object pool associated with the given PoolKey.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources with parameters of type ObjectPoolModifier and TypeMethodDescriptionvoid
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 ObjectPoolModifier and TypeClassDescriptionclass
A simple base implementation ofObjectPool
.private static class
Decorates an object pool, adding "eroding" behavior.private static final class
A synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 declared as ObjectPoolModifier and TypeFieldDescriptionprivate final ObjectPool
<T> PoolUtils.ErodingObjectPool.pool
Underlying object poolprivate final ObjectPool
<T> PoolUtils.ObjectPoolMinIdleTimerTask.pool
Object poolprivate final ObjectPool
<T> PoolUtils.SynchronizedObjectPool.pool
the underlying object poolMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that return ObjectPoolModifier and TypeMethodDescriptionstatic <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 ObjectPoolModifier and TypeMethodDescriptionstatic <T> 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.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 ObjectPoolModifierConstructorDescriptionErodingObjectPool
(ObjectPool<T> pool, float factor) Creates an ErodingObjectPool wrapping the given pool using the specified erosion factor.(package private)
ObjectPoolMinIdleTimerTask
(ObjectPool<T> pool, int minIdle) Create a new ObjectPoolMinIdleTimerTask for the given pool with the given minIdle setting.(package private)
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 ObjectPoolModifier and TypeClassDescriptionclass
A configurableObjectPool
implementation.class
ASoftReference
basedObjectPool
.
addObjects(int)
.