org.d_haven.mpool

Class NullRecyclePolicy

public class NullRecyclePolicy extends Object implements RecyclePolicy

The NullRecyclePolicy is provided to turn off any recycling of pooled objects for a pool.
Method Summary
voidrecycle(Object pooledObject)
All objects are not supposed to recycle, so this method does nothing.
StringtoString()

Method Detail

recycle

public void recycle(Object pooledObject)
All objects are not supposed to recycle, so this method does nothing.

Parameters: pooledObject the object to recycle

toString

public String toString()