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 TypeMethodDescriptionvoidcloseAll()voidgetConnection(boolean blockIfFull) voidvoidsetMaxConnections(int max)
-
Constructor Details
-
ConnectionPool
- Throws:
ClassNotFoundExceptionSQLException
-
-
Method Details
-
setMaxConnections
public void setMaxConnections(int max) -
getConnection
- Throws:
PoolFullExceptionSQLException
-
returnConnection
-
createNewConnection
public void createNewConnection() -
closeAll
public void closeAll()
-