avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [Vote][Excalibur] Component Pools
Date Tue, 12 Jun 2001 13:50:17 GMT
Leo Sutic wrote:
> 
> I did this:
> 
> m_pool = new DefaultComponentPool( m_factory,
>                                   config.getAttributeAsInteger
> ("avalon-pool-size-min", AbstractPool.DEFAULT_POOL_SIZE / 4),
>                                   config.getAttributeAsInteger
> ("avalon-pool-size-max", AbstractPool.DEFAULT_POOL_SIZE),
>                                   config.getAttributeAsInteger
> ("avalon-pool-size-resize", AbstractPool.DEFAULT_POOL_SIZE / 4));
> 
> So defaults would always be provided. I assume you're doing something
> similar.

I am, but without "avalon-" and "size-" words in there.  Please note
that I also have some logging optimizations involved.

> 
> /LS
> 
> > -----Original Message-----
> > From: Berin Loritsch [mailto:bloritsch@apache.org]
> > Sent: den 12 juni 2001 15:19
> > To: Avalon Development
> > Subject: Re: [Vote][Excalibur] Component Pools
> >
> >
> > New code only has to be done in two places:
> >
> > PoolableComponentHandler looks at the Configuration
> > object for attributes on the root element ("pool-min"
> > and "pool-max").  DefaultComponentPool needed to expose
> > one more constructor.  It will be committed shortly.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: avalon-dev-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: avalon-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message