public interface CustomObjectPool extends ObjectPool
Any custom implementation should behave like a default one in that it should automatically clear objects that implement java.util.Collection as well as handle the methods on objects that implement PoolableObject.
PMI statistics are not tracked for custom object pools.
|Modifier and Type||Method and Description|
This is called when memory is short and the idle object list should be trimmed to release memory for the system.
This is called when the custom object pool is constructed.
void setProperties(java.util.Map props)
props- The parameters.