KeyedPooledObjectFactory.passivateObject

Uninitialize an instance to be returned to the idle object pool.

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

@throws Exception if there is a problem passivating <code>obj</code>, this exception may be swallowed by the pool.

@see #destroyObject

interface KeyedPooledObjectFactory(K, V)
void
passivateObject
(
K key
,
PooledObject!(V) p
)

Meta