hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Introspection (time probes): AsyncHttpClient
Date Tue, 26 Sep 2017 09:58:57 GMT
On Tue, 2017-09-26 at 11:51 +0200, Stefan Sobernig wrote:
> Hi Oleg!
> 
> Thx for the swift reply, turned out very helpful :)
> 

...


> > >  with setMaxConnTotal(5) and
> > > setMaxConnPerRoute(5), assuming that each pool has a min of 2?
> > > Can I
> > > influence the minimum number of connections?
> > > 
> > 
> > I am not sure I understand.
> 
> How can I configure a pool for a given AsyncHttpClient for a size 2-5
> (or 3-10 etc.)?


Please use PoolingAsyncClientConnectionManagerBuilder to build an
instance of PoolingAsyncClientConnectionManager with the desired
settings or change the settings of an existing
PoolingAsyncClientConnectionManager through ConnPoolControl interface.

Hope this helps

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message