I have created GenericPool
by extending GenericObjectPool
and poolFactory
using BasePooledObjectFactory
. Now I want to remove the object from my Generic Pool.
.clear()
will remove idleObject
from pool how do we remove permanently from the pool?