|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.d_haven.mpool.ResettableRecyclePolicy
public class ResettableRecyclePolicy
This implementation of the ResettableRecyclePolicy is the default
implementation for the system. Any class that implements the Resettable
interface will be recycled. Classes that have a
reset
method but do not implement the interface will not
be recycled.
Constructor Summary | |
---|---|
ResettableRecyclePolicy()
|
Method Summary | |
---|---|
void |
recycle(java.lang.Object pooledObject)
Recycle the object included. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResettableRecyclePolicy()
Method Detail |
---|
public void recycle(java.lang.Object pooledObject)
recycle
in interface RecyclePolicy
pooledObject
- the object to recyclepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |