|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resetter<T>
Interface for a resetter component. This will automatically reset the state of the pooled element, when it is returned to the pool.
Method Summary | |
---|---|
boolean |
reset(T object)
Reset the pooled object. |
Method Detail |
---|
boolean reset(T object)
false
prevents the element from returning into
the pool and the instance is garbage collected.
object
- the object to reset
true
if the element can be used for further tasks.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |