public interface Resetter
Modifier and Type | Method and Description |
---|---|
boolean |
reset(java.lang.Object object)
Reset the pooled object.
|
boolean reset(java.lang.Object object)
false
prevents the element from returning into
the pool and the instance is garbage collected.object
- the object to resettrue
if the element can be used for further tasks.