| java.lang.Object org.smartlib.pool.core.ConnectionLeakPollThread
ConnectionLeakPollThread | class ConnectionLeakPollThread implements Runnable(Code) | | The responsibility of this class is to poll the pools, detect leaks
and release excessive free connections if required.
Note: I know this class can be optimised, will do it later.
author: Sachin Shekar Shetty version: 1.0, 02/08/01 |
Method Summary | |
public void | run() |
ConnectionLeakPollThread | ConnectionLeakPollThread(Vector connectionsInUse, Vector connectionListenerList, String poolName, long sleepTime, long leakTimeOut, Pool pool)(Code) | | Parameters: connectionsInUse - Vector containing the connections thatare in use. Parameters: connectionListenerList - Vector of registered listenetrs. Parameters: poolName - Name of the pool. Parameters: sleepTime - Sleep time for the poll thread. Parameters: leakTimeOut - time interval after which a leak is said tohave occurred. Parameters: pool - A reference to Pool implementation. |
|
|