All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lgeds.jdf.db.pool.PoolConnection

java.lang.Object
   |
   +----com.lgeds.jdf.db.pool.PoolConnection

public class PoolConnection
extends Object
Author:
WonYoung Lee, wyounglee@lgeds.lg.co.kr.

Constructor Index

 o PoolConnection(Connection, Object)
PoolConnection constructor comment.

Method Index

 o close()
 o getConnection()
 o isUsed()
 o release()
mark isUsed variable to false, so this PoolConnection is returned into the pool.
 o setInUsed()
marking that this PoolConnection is used now.

Constructors

 o PoolConnection
 public PoolConnection(Connection conn,
                       Object lock)
PoolConnection constructor comment.

Methods

 o close
 public void close()
 o getConnection
 public Connection getConnection()
Returns:
java.sql.Connection
 o isUsed
 public boolean isUsed()
Returns:
return true if this pool connection is not used by anyone.
 o release
 public void release()
mark isUsed variable to false, so this PoolConnection is returned into the pool.

 o setInUsed
 public void setInUsed()
marking that this PoolConnection is used now.


All Packages  Class Hierarchy  This Package  Previous  Next  Index