|
Buglet - buglet.sourceforge.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.buglet.bugdb.BugPool
Database pool object
Field Summary | |
(package private) static BugEnv |
env
database connection pool. |
(package private) static org.apache.log4j.Category |
log
|
Constructor Summary | |
BugPool()
basic constructor method. |
Method Summary | |
boolean |
freeHandle(java.sql.Connection con)
indicate done with connection. |
int |
getCurrentConnections()
gets the number of current connections. |
java.sql.Connection |
getHandle()
get a free connection. |
java.util.Vector |
getHandlesInUse()
returns a vector of booleans indicating whether database handle is in use. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static BugEnv env
static org.apache.log4j.Category log
Constructor Detail |
public BugPool()
Method Detail |
public int getCurrentConnections()
public java.util.Vector getHandlesInUse()
public java.sql.Connection getHandle()
public boolean freeHandle(java.sql.Connection con)
con
-
|
Buglet - buglet.sourceforge.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |