BaseGenericObjectPool.getTestOnReturn

Returns whether objects borrowed from the pool will be validated when they are returned to the pool via the <code>returnObject()</code> method. Validation is performed by the <code>validateObject()</code> method of the factory associated with the pool. Returning objects that fail validation are destroyed rather then being returned the pool.

@return <code>true</code> if objects are validated on return to the pool via the <code>returnObject()</code> method

@see #setTestOnReturn

class BaseGenericObjectPool
bool
getTestOnReturn
()

Meta