What is Conn ction Pool Manager?

beingchinmay

New member
A Connection Pool is maintained internally by the Connection Pool Manager. When a request for a subsequent connection comes in, the Connection Pool Manager searches the pool for the availability of a free connection and returns it to the application if one is available. Connection Pools works as below


• If any unused connection is available, it returns one.

• If all connections are used up, a new connection is created and added to the pool.

• If the number of connections reaches the maximum number of connections in the pool, the requests are queued until a connection becomes free for reuse.
 
The administrator is a Singleton example that is used to manage multiple relationship private pools per JVM. The interface contains methods for communicating with an association share administrator. UCP for JDBC contains an execution that is used to get an association share administrator example.
 
Back
Top