Uses of Class
org.apache.commons.dbcp2.datasources.PoolKey
Packages that use PoolKey
Package
Description
This package contains two DataSources:
PerUserPoolDataSource and
SharedPoolDataSource which provide a database connection pool.-
Uses of PoolKey in org.apache.commons.dbcp2.datasources
Fields in org.apache.commons.dbcp2.datasources with type parameters of type PoolKeyModifier and TypeFieldDescriptionprivate Map<PoolKey, PooledConnectionManager> PerUserPoolDataSource.managersMap to keep track of Pools for a given user.Methods in org.apache.commons.dbcp2.datasources that return PoolKeyModifier and TypeMethodDescriptionprivate PoolKeyPerUserPoolDataSource.getPoolKey(String userName) Creates a pool key from the provided parameters.Methods in org.apache.commons.dbcp2.datasources with parameters of type PoolKeyModifier and TypeMethodDescriptionprivate org.apache.commons.pool2.ObjectPool<PooledConnectionAndInfo> Returns the object pool associated with the given PoolKey.