|
|||||||||
| 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()
|
java.util.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. |
java.util.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. |
java.lang.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 java.sql.SQLException
java.sql.SQLException
protected void replaceConnection(MultiConnection multiCon)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void finalize()
public void shutdown()
public int getSize()
public int getTotalConnectionsCreated()
public java.util.Iterator getPool()
JDBC.listConnections(org.mmbase.util.StringTagger)public java.util.Iterator getBusyPool()
JDBC.listConnections(org.mmbase.util.StringTagger)public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||