KeyedPooledObjectFactory.activateObject

Reinitialize an instance to be returned by the pool.

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

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

@see #destroyObject

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

Meta