Package com.nt.udc.db
Class ConnectionPool
java.lang.Object
com.nt.udc.db.ConnectionPool
Title: UDC DB Connection Pool
Description: This object is for maintaining a collection of connections to
a database for the purpose of managing resources, and reducing the time it
takes to initiate a database action. This will essentially reuse a
configurable number of connections.
Copyright: Copyright (c) 2001
Company: Nortel Networks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeAll()
void
getConnection
(boolean blockIfFull) void
void
setMaxConnections
(int max)
-
Constructor Details
-
ConnectionPool
- Throws:
ClassNotFoundException
SQLException
-
-
Method Details
-
setMaxConnections
public void setMaxConnections(int max) -
getConnection
- Throws:
PoolFullException
SQLException
-
returnConnection
-
createNewConnection
public void createNewConnection() -
closeAll
public void closeAll()
-