or block when a resource is unavailable. Or, you can even specify a max block time.
You can pretty much do everything that is possible with either the Soft or Hard pools.
Take a look at the Javadocs for details.
Cheers,
Leif
Berin Loritsch wrote:
[EMAIL PROTECTED] wrote:In some circumstances my Poolables are limited resources that should notThere is no easy way to do it. However, when I originally worked with the pooling code, I tried
exceed a certain number.
Poolables are pooled using a SoftResourceLimitingPool by default. Can this
be changed for certain components?
using hard limiting pools. The problem is that if load is great enough you will experience deadlock.
That is why I went with the soft-limiting pool.
---------------------------------------------
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>