Uses of Class
org.apache.commons.dbcp2.PoolableConnection
Packages that use PoolableConnection
Package
Description
Database Connection Pool API.
This package provides support for pooling of ManagedConnections.
-
Uses of PoolableConnection in org.apache.commons.dbcp2
Fields in org.apache.commons.dbcp2 with type parameters of type PoolableConnectionModifier and TypeFieldDescriptionprivate org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection> BasicDataSource.connectionPoolThe object pool that internally manages our connections.private final org.apache.commons.pool2.ObjectPool<PoolableConnection> PoolableConnection.poolThe pool to which I should return.private org.apache.commons.pool2.ObjectPool<PoolableConnection> PoolableConnectionFactory.poolMethods in org.apache.commons.dbcp2 that return types with arguments of type PoolableConnectionModifier and TypeMethodDescriptionprotected org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection> BasicDataSource.createObjectPool(PoolableConnectionFactory factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig<PoolableConnection> poolConfig, org.apache.commons.pool2.impl.AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections.org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection> BasicDataSource.getConnectionPool()Gets the underlying connection pool.org.apache.commons.pool2.ObjectPool<PoolableConnection> PoolableConnectionFactory.getPool()Returns theObjectPoolin whichConnections are pooled.org.apache.commons.pool2.PooledObject<PoolableConnection> PoolableConnectionFactory.makeObject()Methods in org.apache.commons.dbcp2 with parameters of type PoolableConnectionModifier and TypeMethodDescriptionvoidPoolableConnectionFactory.validateConnection(PoolableConnection conn) Validates the given connection if it is open.Method parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnectionModifier and TypeMethodDescriptionvoidPoolableConnectionFactory.activateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p) protected org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection> BasicDataSource.createObjectPool(PoolableConnectionFactory factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig<PoolableConnection> poolConfig, org.apache.commons.pool2.impl.AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections.voidPoolableConnectionFactory.destroyObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p) voidPoolableConnectionFactory.destroyObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p, org.apache.commons.pool2.DestroyMode mode) voidPoolableConnectionFactory.passivateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p) private <T> voidBasicDataSource.setConnectionPool(BiConsumer<org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection>, T> consumer, T object) voidPoolableConnectionFactory.setPool(org.apache.commons.pool2.ObjectPool<PoolableConnection> pool) Sets theObjectPoolin which to poolConnections.private voidPoolableConnectionFactory.validateLifetime(org.apache.commons.pool2.PooledObject<PoolableConnection> p) booleanPoolableConnectionFactory.validateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p) Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnectionModifierConstructorDescriptionPoolableConnection(Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool, ObjectName jmxName) PoolableConnection(Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation) -
Uses of PoolableConnection in org.apache.commons.dbcp2.managed
Subclasses of PoolableConnection in org.apache.commons.dbcp2.managedModifier and TypeClassDescriptionclassPoolableConnection that unregisters from TransactionRegistry on Connection real destroy.Methods in org.apache.commons.dbcp2.managed that return types with arguments of type PoolableConnectionModifier and TypeMethodDescriptionorg.apache.commons.pool2.PooledObject<PoolableConnection> PoolableManagedConnectionFactory.makeObject()Uses the configured XAConnectionFactory to create aPoolableManagedConnection.Constructor parameters in org.apache.commons.dbcp2.managed with type arguments of type PoolableConnectionModifierConstructorDescriptionPoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool) Create a PoolableManagedConnection.PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, boolean fastFailValidation) Create a PoolableManagedConnection.