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.poolThe pool to which I should return.private ObjectPool<PoolableConnection> PoolableConnectionFactory.poolprivate final ObjectPool<C> PoolingDataSource.poolprivate final ObjectPool<? extends Connection> PoolingDriver.PoolGuardConnectionWrapper.poolFields in org.datanucleus.store.rdbms.datasource.dbcp2 with type parameters of type ObjectPoolModifier and TypeFieldDescriptionprotected static final HashMap<String, ObjectPool<? extends Connection>> PoolingDriver.poolsThe 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 theObjectPoolin whichConnections are pooled.protected ObjectPool<C> PoolingDataSource.getPool()Methods in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type ObjectPoolModifier and TypeMethodDescriptionvoidPoolingDriver.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 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.poolMethods 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 TypeMethodDescriptionvoidCPDSConnectionFactory.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 TypeClassDescriptionclassA simple base implementation ofObjectPool.private static classDecorates an object pool, adding "eroding" behavior.private static final classA 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.poolUnderlying object poolprivate final ObjectPool<T> PoolUtils.ObjectPoolMinIdleTimerTask.poolObject poolprivate final ObjectPool<T> PoolUtils.SynchronizedObjectPool.poolthe 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> 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.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 TypeClassDescriptionclassA configurableObjectPoolimplementation.classASoftReferencebasedObjectPool.
ObjectPool.addObjects(int).