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
Methods in org.apache.commons.dbcp2 that return types with arguments of type PoolableConnectionModifier and TypeMethodDescriptionprotected GenericObjectPool<PoolableConnection> BasicDataSource.createObjectPool(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections.BasicDataSource.getConnectionPool()Gets the underlying connection pool.PoolableConnectionFactory.getPool()Returns theObjectPoolin whichConnections are pooled.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(PooledObject<PoolableConnection> p) protected GenericObjectPool<PoolableConnection> BasicDataSource.createObjectPool(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig) Creates an object pool used to provide pooling support forJDBC connections.voidPoolableConnectionFactory.destroyObject(PooledObject<PoolableConnection> p) voidPoolableConnectionFactory.destroyObject(PooledObject<PoolableConnection> p, DestroyMode mode) voidPoolableConnectionFactory.passivateObject(PooledObject<PoolableConnection> p) voidPoolableConnectionFactory.setPool(ObjectPool<PoolableConnection> pool) Sets theObjectPoolin which to poolConnections.booleanPoolableConnectionFactory.validateObject(PooledObject<PoolableConnection> p) Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnectionModifierConstructorDescriptionPoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName) PoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation) PoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, Collection<String> disconnectionIgnoreSqlCodes, boolean fastFailValidation) Creates a newPoolableConnectioninstance. -
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 TypeMethodDescriptionPoolableManagedConnectionFactory.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, ObjectPool<PoolableConnection> pool) Creates a PoolableManagedConnection.PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, boolean fastFailValidation) Creates a PoolableManagedConnection.PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, Collection<String> disconnectionIgnoreSqlCodes, boolean fastFailValidation) Creates a PoolableManagedConnection.