BaseGenericObjectPool.getTestOnBorrow

Returns whether objects borrowed from the pool will be validated before being returned from the <code>borrowObject()</code> method. Validation is performed by the <code>validateObject()</code> method of the factory associated with the pool. If the object fails to validate, it will be removed from the pool and destroyed, and a new attempt will be made to borrow an object from the pool.

@return <code>true</code> if objects are validated before being returned from the <code>borrowObject()</code> method

@see #setTestOnBorrow

class BaseGenericObjectPool
bool
getTestOnBorrow
()

Meta