| java.lang.Object com.salmonllc.sql.DBConnectionList
DBConnectionList | public class DBConnectionList (Code) | | This class represents a list of database connections sharing a common specification. It is used by the system to maintain connection pools.
|
Constructor Summary | |
| DBConnectionList(int max, long timeOut, long idleTimeout, String DBMS, String jdbcDriver, String databaseURL, String userID, String password, String dbName, String connectionParms) | | DBConnectionList(int max, long timeOut, long idleTimeout, String DBMS, String jdbcDriver, String databaseURL, String userID, String password, String dbName) |
_DBMS_driver_databaseURL_userID_password_dbName | String _DBMS_driver_databaseURL_userID_password_dbName(Code) | | |
_max_count | int _max_count(Code) | | |
_timeOut_idleTimeOut | long _timeOut_idleTimeOut(Code) | | |
clearIdleConnections | public synchronized void clearIdleConnections() throws SQLException(Code) | | This method will remove all idle connections from the connection pool.
|
freeConnection | synchronized void freeConnection(DBConnection conn)(Code) | | This method was created in VisualAge.
com.salmonllc.sql.DBConnection |
getConnectionParm | String getConnectionParm(String key)(Code) | | This method returns a connection parameter
Parameters: key - |
getConnections | public Enumeration getConnections()(Code) | | This method returns an enumeration of all the connections maintained in the list.
|
getDBMS | public String getDBMS()(Code) | | This method returns the DBMS for the connection pool.
|
getDBName | public String getDBName()(Code) | | This method returns the DB name for the connection pool.
|
getDatabaseURL | public String getDatabaseURL()(Code) | | This method returns the Database URL for the connection pool.
|
getDatabaseUser | public String getDatabaseUser()(Code) | | This method returns the Database User for the connection pool.
|
getDriver | public String getDriver()(Code) | | This method returns the Database Driver for the connection pool.
|
getIdleCount | public int getIdleCount()(Code) | | This method returns the number of idle connections in the list.
|
getInUseCount | public int getInUseCount()(Code) | | This method returns the number of connections currently in use.
|
setIdleTimeOut | void setIdleTimeOut(long time)(Code) | | |
setMax | void setMax(int max)(Code) | | |
setWaitTimeOut | void setWaitTimeOut(long time)(Code) | | |
|
|