BaseGenericObjectPool.getTestWhileIdle

Returns whether objects sitting idle in the pool will be validated by the idle object evictor (if any - see {@link #setTimeBetweenEvictionRunsMillis(long)}). 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.

@return <code>true</code> if objects will be validated by the evictor

@see #setTestWhileIdle @see #setTimeBetweenEvictionRunsMillis

class BaseGenericObjectPool
bool
getTestWhileIdle
()

Meta