commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <>
Subject Re: [commons-pool] Dynamic pooling configuration.
Date Sat, 17 Apr 2004 07:05:06 GMT
Victor Subick wrote:

>Hello, I have used this pooling package in the past and it is wonderful.
>Thanks again (Jakarta) for a wonderful product. I love you guys and gals. 
>I have a question. How can I change the behavior of the pooling package to
>load all my poolable objects initially instead of on demand. Say that I
>define 10 maxActives but I want to instantiate all 10 at runtime and keep
>them idle forever regardless of use.  I wish this to be dynamic. So that I
>can specify this behavior at runtime (via a properties file) whether it is
>on demand (default behavior) or all at startup.
I'm by no means an expert on all aspects of [pool], but won't setting 
the "minIdle" property do what you want?

Craig McClanahan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message