ObjectPool.clear

Clears any objects sitting idle in the pool, releasing any associated resources (optional operation). Idle objects cleared must be {@link PooledObjectFactory#destroyObject(PooledObject)}.

@throws Exception if the pool cannot be cleared

class ObjectPool(T)
void
clear
()

Meta