Uses of Class
org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
Packages that use PooledConnectionAndInfo
Package
Description
This package contains two DataSources:
PerUserPoolDataSource and
SharedPoolDataSource which provide a database connection pool.-
Uses of PooledConnectionAndInfo in org.apache.commons.dbcp2.datasources
Fields in org.apache.commons.dbcp2.datasources with type parameters of type PooledConnectionAndInfoModifier and TypeFieldDescriptionprivate final Map<PooledConnection, PooledConnectionAndInfo> CPDSConnectionFactory.pcMapMap of PooledConnectionAndInfo instancesprivate final Map<PooledConnection, PooledConnectionAndInfo> KeyedCPDSConnectionFactory.pcMapMap of PooledConnectionAndInfo instancesprivate org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> CPDSConnectionFactory.poolprivate org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> KeyedCPDSConnectionFactory.poolprivate org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> SharedPoolDataSource.poolMethods in org.apache.commons.dbcp2.datasources that return PooledConnectionAndInfoModifier and TypeMethodDescriptionprotected abstract PooledConnectionAndInfoInstanceKeyDataSource.getPooledConnectionAndInfo(String userName, String userPassword) This method is protected but can only be implemented in this package because PooledConnectionAndInfo is a package private type.protected PooledConnectionAndInfoPerUserPoolDataSource.getPooledConnectionAndInfo(String userName, String password) protected PooledConnectionAndInfoSharedPoolDataSource.getPooledConnectionAndInfo(String userName, String userPassword) Methods in org.apache.commons.dbcp2.datasources that return types with arguments of type PooledConnectionAndInfoModifier and TypeMethodDescriptionprivate org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> PerUserPoolDataSource.getCPDSConnectionFactoryPool(PooledConnectionManager manager) Gets the underlying pool but does NOT allocate it.org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> CPDSConnectionFactory.getPool()Returns the object pool used to pool connections created by this factory.org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> KeyedCPDSConnectionFactory.getPool()Returns the keyed object pool used to pool connections created by this factory.private org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> Returns the object pool associated with the given PoolKey.org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> CPDSConnectionFactory.makeObject()org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> KeyedCPDSConnectionFactory.makeObject(UserPassKey userPassKey) Creates a newPooledConnectionAndInfofrom the givenUserPassKey.Methods in org.apache.commons.dbcp2.datasources with parameters of type PooledConnectionAndInfoModifier and TypeMethodDescriptionprivate voidInstanceKeyDataSource.closeDueToException(PooledConnectionAndInfo info) private voidCPDSConnectionFactory.doDestroyObject(PooledConnectionAndInfo pci) Method parameters in org.apache.commons.dbcp2.datasources with type arguments of type PooledConnectionAndInfoModifier and TypeMethodDescriptionvoidCPDSConnectionFactory.activateObject(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) voidKeyedCPDSConnectionFactory.activateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) voidCPDSConnectionFactory.destroyObject(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) Closes the PooledConnection and stops listening for events from it.voidKeyedCPDSConnectionFactory.destroyObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) Closes the PooledConnection and stops listening for events from it.voidCPDSConnectionFactory.passivateObject(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) voidKeyedCPDSConnectionFactory.passivateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) voidCPDSConnectionFactory.setPool(org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> pool) voidKeyedCPDSConnectionFactory.setPool(org.apache.commons.pool2.KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> pool) private voidCPDSConnectionFactory.validateLifetime(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) private voidKeyedCPDSConnectionFactory.validateLifetime(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> pooledObject) booleanCPDSConnectionFactory.validateObject(org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> p) booleanKeyedCPDSConnectionFactory.validateObject(UserPassKey key, org.apache.commons.pool2.PooledObject<PooledConnectionAndInfo> pooledObject) Validates a pooled connection.