org.d_haven.mpool
public class RecyclePoolListener extends PoolAdaptor
| Field Summary | |
|---|---|
| RecyclePolicy | m_recyclePolicy |
| Constructor Summary | |
|---|---|
| RecyclePoolListener(RecyclePolicy policy)
Create a RecyclePoolListener using the supplied policy.
| |
| Method Summary | |
|---|---|
| void | objectReleased(Object pooledObject)
Recycle the object on returning.
|
| String | toString() |
Parameters: policy the policy
Parameters: pooledObject return the object to the pool