BaseGenericObjectPool.getTestOnCreate

Returns whether objects created for 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, then <code>borrowObject()</code> will fail.

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

@see #setTestOnCreate

class BaseGenericObjectPool
bool
getTestOnCreate
()

Meta