BaseKeyedPooledObjectFactory.destroyObject

Destroy an instance no longer needed by the pool. <p> The default implementation is a no-op. </p>

@param key the key used when selecting the instance @param p a {@code PooledObject} wrapping the instance to be destroyed

class BaseKeyedPooledObjectFactory(K, V)
override
void
destroyObject
(
K key
,
PooledObject!(V) p
)

Meta