PooledObjectFactory.validateObject

Ensures that the instance is safe to be returned by the pool.

@param p a {@code PooledObject} wrapping the instance to be validated

@return <code>false</code> if <code>obj</code> is not valid and should be dropped from the pool, <code>true</code> otherwise.

interface PooledObjectFactory(T)
bool
validateObject

Meta