cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2][feature request][Datasource components] get-by-name +no-pooling
Date Mon, 29 Jan 2001 13:57:01 GMT
Donald Ball wrote:
> 
> On Sun, 28 Jan 2001, Berin Loritsch wrote:
> 
> > a minimum amount of connections.  The maximum is a hard maximum, and
> > the getConnection() would fail if an additional one was needed--I need
> > to look at waiting for one to free up though.  The minimum is a soft
> > minimum meaning that at least the minimum number of connections will
> > be held in reserve unless we would have more than the hard maximum.
> 
> that oughtn't be terribly difficult, but i'd like it to be configurable.
> sometimes i'd want it to fail, sometimes i'd want it to wait (for a
> certain of time, anyway).

I was thinking about adding a timeout parameter to the pool-controller
element.  If the timeout passes before a connection is returned, then
you have a failure.  It would be configurable--and 0 (the default) would
mean a hard failure without waiting.

Mime
View raw message