|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Reusable
Interface for an object that can be reused.
ObjectPool
Method Summary | |
---|---|
boolean |
isDirty()
Determines if this object is "dirty" (i.e. |
void |
recycle()
Cleans an object to put it in a state in which it can be reused. |
Method Detail |
---|
void recycle() throws Exception
Exception
- if unable to recycle the this objectboolean isDirty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |