|
PooliT v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines required methods to be implemented for Poolers.
| Method Summary | |
void |
close()
Releases all objects in the pool and any resources held by these objects. |
java.lang.Object |
fetch()
Retrieves an object from the pool. |
void |
release(java.lang.Object o)
Returns an object to the pool. |
| Method Detail |
public java.lang.Object fetch()
throws FetchException
FetchException - if the pooler is unable to return an object from
the pool.public void release(java.lang.Object o)
o - the objectpublic void close()
|
PooliT v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||