Sets 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.
@param maxWaitMillis the maximum number of milliseconds
<code>borrowObject()</code> will block or negative
for indefinitely.
Sets 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.
@param maxWaitMillis the maximum number of milliseconds <code>borrowObject()</code> will block or negative for indefinitely.
@see #getMaxWaitMillis @see #setBlockWhenExhausted