|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.module.database.MultiPool
JDBC Pool, a dummy interface to multiple real connection
| Method Summary | |
java.util.Enumeration |
busyelements()
|
void |
checkTime()
Check the connections |
java.util.Enumeration |
elements()
|
MultiConnection |
getFree()
get a free connection from the pool |
int |
getSize()
get the pool size |
int |
getTotalConnectionsCreated()
get the number of statements performed |
protected void |
initConnection(java.sql.Connection conn)
|
void |
putBack(MultiConnection con)
putback the used connection in the pool |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void checkTime()
public MultiConnection getFree()
public void putBack(MultiConnection con)
public int getSize()
public int getTotalConnectionsCreated()
public java.util.Enumeration elements()
public java.util.Enumeration busyelements()
public java.lang.String toString()
toString in class java.lang.Objectprotected void initConnection(java.sql.Connection conn)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||