|
||||||||
| 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 | |
void |
checkTime()
Check the connections |
protected void |
finalize()
|
java.util.Iterator |
getBusyPool()
|
MultiConnection |
getFree()
get a free connection from the pool |
java.util.Iterator |
getPool()
|
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 |
void |
shutdown()
'realcloses' all connections. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
protected void finalize()
finalize in class java.lang.Objectpublic void shutdown()
public void checkTime()
public MultiConnection getFree()
public void putBack(MultiConnection con)
public int getSize()
public int getTotalConnectionsCreated()
public java.util.Iterator getPool()
public java.util.Iterator getBusyPool()
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 | |||||||