Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp.pool.ObjectPool

Packages that use ObjectPool
org.datanucleus.store.rdbms.datasource.dbcp   
org.datanucleus.store.rdbms.datasource.dbcp.managed   
org.datanucleus.store.rdbms.datasource.dbcp.pool   
org.datanucleus.store.rdbms.datasource.dbcp.pool.impl   
 

Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp
 

Classes in org.datanucleus.store.rdbms.datasource.dbcp that implement ObjectPool
 class AbandonedObjectPool
          An implementation of a Jakarta-Commons ObjectPool which tracks JDBC connections and can recover abandoned db connections.
 

Fields in org.datanucleus.store.rdbms.datasource.dbcp declared as ObjectPool
protected  ObjectPool PoolingDataSource._pool
           
protected  ObjectPool PoolableConnectionFactory._pool
           
protected  ObjectPool PoolableConnection._pool
          The pool to which I should return.
 

Methods in org.datanucleus.store.rdbms.datasource.dbcp that return ObjectPool
 ObjectPool PoolingDriver.getConnectionPool(String name)
           
 ObjectPool PoolableConnectionFactory.getPool()
          Returns the ObjectPool in which Connections are pooled.
 ObjectPool PoolingDriver.getPool(String name)
          Deprecated. This will be removed in a future version of DBCP.
 

Methods in org.datanucleus.store.rdbms.datasource.dbcp with parameters of type ObjectPool
 void PoolingDriver.registerPool(String name, ObjectPool pool)
           
 void PoolingDataSource.setPool(ObjectPool pool)
           
 void PoolableConnectionFactory.setPool(ObjectPool pool)
          Sets the ObjectPool in which to pool Connections.
 

Constructors in org.datanucleus.store.rdbms.datasource.dbcp with parameters of type ObjectPool
PoolableConnection(Connection conn, ObjectPool pool)
           
PoolableConnection(Connection conn, ObjectPool pool, AbandonedConfig config)
           
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolingDataSource(ObjectPool pool)
           
 

Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp.managed
 

Constructors in org.datanucleus.store.rdbms.datasource.dbcp.managed with parameters of type ObjectPool
ManagedConnection(ObjectPool pool, TransactionRegistry transactionRegistry, boolean accessToUnderlyingConnectionAllowed)
           
ManagedDataSource(ObjectPool pool, TransactionRegistry transactionRegistry)
          Creates a ManagedDataSource which obtains connections from the specified pool and manages them using the specified transaction registry.
PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, ObjectPool pool)
          Create a PoolableManagedConnection.
PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, ObjectPool pool, AbandonedConfig config)
          Create a PoolableManagedConnection.
PoolableManagedConnectionFactory(XAConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a PoolableManagedConnectionFactory and attach it to a connection pool.
PoolableManagedConnectionFactory(XAConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a PoolableManagedConnectionFactory and attach it to a connection pool.
 

Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp.pool
 

Classes in org.datanucleus.store.rdbms.datasource.dbcp.pool that implement ObjectPool
 class BaseObjectPool
          A simple base implementation of ObjectPool.
 

Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool that return ObjectPool
static ObjectPool PoolUtils.adapt(KeyedObjectPool keyedPool)
          Adapt a KeyedObjectPool instance to work where an ObjectPool is needed.
static ObjectPool PoolUtils.adapt(KeyedObjectPool keyedPool, Object key)
          Adapt a KeyedObjectPool instance to work where an ObjectPool is needed using the specified key when delegating.
static ObjectPool PoolUtils.checkedPool(ObjectPool pool, Class type)
          Wraps an ObjectPool and dynamically checks the type of objects borrowed and returned to the pool.
 ObjectPool ObjectPoolFactory.createPool()
          Create and return a new ObjectPool.
static ObjectPool PoolUtils.erodingPool(ObjectPool pool)
          Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
static ObjectPool PoolUtils.erodingPool(ObjectPool pool, float factor)
          Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
static ObjectPool PoolUtils.synchronizedPool(ObjectPool pool)
          Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
 

Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool with parameters of type ObjectPool
static KeyedObjectPool PoolUtils.adapt(ObjectPool pool)
          Adapt an ObjectPool to work where an KeyedObjectPool is needed.
static ObjectPool PoolUtils.checkedPool(ObjectPool pool, Class type)
          Wraps an ObjectPool and dynamically checks the type of objects borrowed and returned to the pool.
static TimerTask PoolUtils.checkMinIdle(ObjectPool pool, int minIdle, long period)
          Periodically check the idle object count for the pool.
static ObjectPool PoolUtils.erodingPool(ObjectPool pool)
          Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
static ObjectPool PoolUtils.erodingPool(ObjectPool pool, float factor)
          Returns a pool that adaptively decreases it's size when idle objects are no longer needed.
static void PoolUtils.prefill(ObjectPool pool, int count)
          Call addObject() on pool count number of times.
static ObjectPool PoolUtils.synchronizedPool(ObjectPool pool)
          Returns a synchronized (thread-safe) ObjectPool backed by the specified ObjectPool.
 

Uses of ObjectPool in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl
 

Classes in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl that implement ObjectPool
 class GenericObjectPool
          A configurable ObjectPool implementation.
 class SoftReferenceObjectPool
          A SoftReference based ObjectPool.
 class StackObjectPool
          A simple, Stack-based ObjectPool implementation.
 

Methods in org.datanucleus.store.rdbms.datasource.dbcp.pool.impl that return ObjectPool
 ObjectPool StackObjectPoolFactory.createPool()
          Create a StackObjectPool.
 ObjectPool GenericObjectPoolFactory.createPool()
          Create and return a new ObjectPool.
 



Copyright © 2012. All Rights Reserved.