BaseGenericObjectPool.getMaxWaitMillis

Returns the maximum amount of time (in milliseconds) the <code>borrowObject()</code> method should block before throwing an exception when the pool is exhausted and {@link #getBlockWhenExhausted} is true. When less than 0, the <code>borrowObject()</code> method may block indefinitely.

@return the maximum number of milliseconds <code>borrowObject()</code> will block.

@see #setMaxWaitMillis @see #setBlockWhenExhausted

class BaseGenericObjectPool
long
getMaxWaitMillis
()

Meta