|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.module.database.MultiPool
JDBC Pool, a dummy interface to multiple real connection
| Method Summary | |
protected void |
createPool()
Creates and fills the connection pool |
protected boolean |
fillPool(boolean logStack)
Fills the connection pool. |
protected void |
finalize()
|
Iterator |
getBusyPool()
For reporting purposes the connections in busypool can be listed. |
protected MultiConnection |
getMultiConnection()
Request a new 'real' Connection and wraps it in a new 'MultiConnection' object. |
Iterator |
getPool()
For reporting purposes the connections in pool can be listed. |
int |
getSize()
get the pool size |
int |
getTotalConnectionsCreated()
get the number of statements performed |
protected void |
replaceConnection(MultiConnection multiCon)
Tries to fix this multi-connection if it is broken (e.g. |
void |
shutdown()
'realcloses' all connections. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
protected void createPool()
protected boolean fillPool(boolean logStack)
protected MultiConnection getMultiConnection()
throws SQLException
SQLException
protected void replaceConnection(MultiConnection multiCon)
throws SQLException
SQLExceptionprotected void finalize()
public void shutdown()
public int getSize()
public int getTotalConnectionsCreated()
public Iterator getPool()
JDBC.listConnections(org.mmbase.util.StringTagger)public Iterator getBusyPool()
JDBC.listConnections(org.mmbase.util.StringTagger)public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||