public abstract class AbstractPoolable extends Object implements Disposable
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger_ |
Constructor and Description |
---|
AbstractPoolable() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
The call to this Method indicates that this Object is not needed by the user anymore.
|
abstract void |
reset()
Reset the Object to an initial state.
|
void |
setObjectPool(AbstractObjectPool pool)
Set the ObjectPool to which this instance should be returned.
|
public void dispose()
dispose
the Object can be returned to its ObjectPool. It's forbidden
to use the Object after release has been called as this may cause unexpected behaviour.public void setObjectPool(AbstractObjectPool pool)
public abstract void reset()
Copyright © 2017 JacORB. All rights reserved.