|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.database.ConnectionPool
public class ConnectionPool
This is a class designed for database connection pooling. By storing connections, along with the thread that they are assigned to, thread-aware operations can be performed safely, securely, and more efficiently.
| Method Summary | |
|---|---|
void |
cleanup()
Cleans up all connections that have been reserved by this datasource. |
protected void |
finalize()
Ensures that the pool is cleared when this Datasource
is garbage collected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void cleanup()
throws DatabaseException
DatabaseException - when an error occured during the
clearing of the pool
protected void finalize()
throws Throwable
Datasource
is garbage collected.
finalize in class ObjectThrowable - when an error occured during the clearing of
the pool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||