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

Constructor Index

 o ConnMgr()
Do not initiate this ConnMgr directly.

Method Index

 o getPoolConnection(JdbcConnSpec)
Get the PoolConnection available in the pool.
 o run()
Thread for checking connection alive.

Constructors

 o ConnMgr
 public ConnMgr()
Do not initiate this ConnMgr directly. Instead, use ConnMgrUtil.getConnMgr().

See Also:
getConnMgr

Methods

 o 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.
 o 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