|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wiley.posa3.resourcelifecyclemanager.ConnectionPool
The ConnectionPool class implements the Pooling pattern by providing an implementation of the Pool interface.
| Constructor Summary | |
ConnectionPool()
Default Constructor |
|
| Method Summary | |
Resource |
acquire()
Acquire a managed resource (that is, a connection) from the pool. |
void |
release(Resource resource)
Release a managed resource (that is, a connection) to the pool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionPool()
| Method Detail |
public void release(Resource resource)
release in interface Poolresource - the resource (connection) to put into the poolpublic Resource acquire()
acquire in interface Pool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||