public interface Resetter<T>
Modifier and Type | Method and Description |
---|---|
boolean |
reset(T object)
Reset the pooled object.
|
boolean reset(T 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.Copyright © 2005–2023 Codehaus. All rights reserved.