Uses of Class
org.apache.commons.dbcp2.PoolableConnection
Package
Description
Database Connection Pool API.
This package provides support for pooling of ManagedConnections.
-
Uses of PoolableConnection in org.apache.commons.dbcp2
Modifier 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 theObjectPool
in whichConnection
s are pooled.PoolableConnectionFactory.makeObject()
Modifier and TypeMethodDescriptionvoid
PoolableConnectionFactory.validateConnection
(PoolableConnection conn) Validates the given connection if it is open.Modifier and TypeMethodDescriptionvoid
PoolableConnectionFactory.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
.void
PoolableConnectionFactory.destroyObject
(PooledObject<PoolableConnection> p) void
PoolableConnectionFactory.destroyObject
(PooledObject<PoolableConnection> p, DestroyMode mode) void
PoolableConnectionFactory.passivateObject
(PooledObject<PoolableConnection> p) void
PoolableConnectionFactory.setPool
(ObjectPool<PoolableConnection> pool) Sets theObjectPool
in which to poolConnection
s.boolean
PoolableConnectionFactory.validateObject
(PooledObject<PoolableConnection> p) ModifierConstructorDescriptionPoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName) PoolableConnection
(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation) -
Uses of PoolableConnection in org.apache.commons.dbcp2.managed
Modifier and TypeClassDescriptionclass
PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.Modifier and TypeMethodDescriptionPoolableManagedConnectionFactory.makeObject()
Uses the configured XAConnectionFactory to create aPoolableManagedConnection
.ModifierConstructorDescriptionPoolableManagedConnection
(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool) Create a PoolableManagedConnection.PoolableManagedConnection
(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, boolean fastFailValidation) Create a PoolableManagedConnection.