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.
-
PoolConnection(Connection, Object)
- PoolConnection constructor comment.
-
close()
-
-
getConnection()
-
-
isUsed()
-
-
release()
- mark isUsed variable to false, so this PoolConnection is returned into the pool.
-
setInUsed()
- marking that this PoolConnection is used now.
PoolConnection
public PoolConnection(Connection conn,
Object lock)
- PoolConnection constructor comment.
close
public void close()
getConnection
public Connection getConnection()
- Returns:
- java.sql.Connection
isUsed
public boolean isUsed()
- Returns:
- return true if this pool connection is not used by anyone.
release
public void release()
- mark isUsed variable to false, so this PoolConnection is returned into the pool.
setInUsed
public void setInUsed()
- marking that this PoolConnection is used now.
All Packages Class Hierarchy This Package Previous Next Index