All Packages Class Hierarchy This Package Previous Next Index
Class com.lgeds.jdf.db.pool.ConnMgr
java.lang.Object
|
+----java.lang.Thread
|
+----com.lgeds.jdf.db.pool.ConnMgr
- public class ConnMgr
- extends Thread
-
ConnMgr()
- Do not initiate this ConnMgr directly.
-
getPoolConnection(JdbcConnSpec)
- Get the PoolConnection available in the pool.
-
run()
- Thread for checking connection alive.
ConnMgr
public ConnMgr()
- Do not initiate this ConnMgr directly. Instead, use ConnMgrUtil.getConnMgr().
- See Also:
- getConnMgr
getPoolConnection
public PoolConnection getPoolConnection(JdbcConnSpec spec) throws ConnMgrException
- Get the PoolConnection available in the pool.
- Parameters:
- spec - com.lgeds.jdf.db.pool.JdbcConnSpec
- Returns:
- com.lgeds.jdf.db.pool.PoolConnection available.
run
public void run()
- Thread for checking connection alive.
Default time is 1 minutes, but you can control by "com.lgeds.jdf.db.pool.checkinterval"
property in the configuration file.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index