On 10/17/10 12:38 PM, James Carman wrote:
On Sun, Oct 17, 2010 at 12:38 PM, James Carman
<ja...@carmanconsulting.com> wrote:
From the Javadocs for GenericObjectPool:
"when the pool is exhausted (i.e., the maximum number of active
objects has been reached), the borrowObject() method should simply
create a new object anyway. "
So, it's a different case. It allows for you to disregard the maximum size.
Sorry, this is the description of the WHEN_EXHAUSTED_GROW option.
Yes, but the question is do you really *need* this option, since
setting maxActive = -1 effectively accomplishes the same thing.
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org