BaseKeyedPooledObjectFactory.validateObject

Ensures that the instance is safe to be returned by the pool. <p> The default implementation always returns {@code true}. </p>

@param key the key used when selecting the object @param p a {@code PooledObject} wrapping the instance to be validated @return always <code>true</code> in the default implementation

class BaseKeyedPooledObjectFactory(K, V)
override
bool
validateObject
(
K key
,
PooledObject!(V) p
)

Meta