cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irv Salisbury <irv.salisb...@gmail.com>
Subject Re: Questions about pooling
Date Wed, 17 Aug 2005 02:41:58 GMT
Thanks!


On 8/16/05, Vadim Gritsenko <vadim@reverycodes.com> wrote:
> Irv Salisbury wrote:
> > I have a few questions about pooling
> >
> > 1. Where is the code that creates all the poolable objects and loads
> > them into a pool?  It seems like there is some avalon class that
> > controls the pool and implements the pool.
> 
> http://svn.apache.org/repos/asf/excalibur/trunk/components/pool/
> 
> 
> > 2. Does anyone have any insight into what methods are used to
> > determine if the pool should shrink (assuming it does shrink when
> > objects are not needed)
> 
> SoftResourceLimitingPool can shrink. DefaultComponentPool extends
> SoftResourceLimitingPool. DefaultPool will invoke shrink on put.
> 
> Vadim
>

Mime
View raw message