|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Pool of objects
Method Summary | |
java.lang.Object |
borrowObject()
Obtains an instance of the pooled class. |
java.lang.Object |
borrowObjectIfExists()
Obtains an instance of the pooled class. |
void |
returnObject(java.lang.Object object)
Returns an instance to the pool. |
Method Detail |
public java.lang.Object borrowObject()
public java.lang.Object borrowObjectIfExists()
public void returnObject(java.lang.Object object)
object
- A previously borrowed instance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |