FYI: I added these comments to the Javadoc for PoolStats. Gary
On Mon, Nov 5, 2012 at 4:30 PM, Mike Boyers <[email protected]> wrote: > Got it. > > Thanks Oleg! > > > > > ----- Original Message ----- > From: Oleg Kalnichevski <[email protected]> > To: HttpClient User Discussion <[email protected]> > Cc: > Sent: Monday, November 5, 2012 3:22 PM > Subject: Re: PoolStats question > > On Sun, 2012-11-04 at 04:44 -0800, Mike Boyers wrote: > > I'm upgrading to 4.2 from 4.1 and am wondering what the various > definitions are for these methods in PoolStats: > > > > getLeased() > > persistent connections tracked by the connection manager currently being > used to execute requests. > > > getPending() > > connection requests being blocked awaiting a free connection. This can > happen only if there are more worker threads contending for fewer > connections. > > > getAvailable() > > idle persistent connections. > > > getMax() > > > > max number of allowed persistent connections. > > > Specifically, I want to know how many total connections are in the > pool. Is that available + leased? > > > > Yes, it is. > > Oleg > > > Thanks, > > Mike > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
