You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by KaiserSose <cb...@libero.it> on 2010/06/27 22:09:46 UTC
Forced "pool reset", is it possible?
Hi all,
I've made many experiments and see that pool + load balancer creates a very
strong connection between client and specific server behind the load
balancer. For this reason I'd like to be able to "clean" the entire pool in
any moment and bring it to his "startup" situation, something like a
"reset". Any tip?
I've seen the "shutdown" but this will make the pool unusable for further
http requests ...
Best regards
--
View this message in context: http://old.nabble.com/Forced-%22pool-reset%22%2C-is-it-possible--tp29007683p29007683.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Forced "pool reset", is it possible?
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sun, 2010-06-27 at 13:09 -0700, KaiserSose wrote:
> Hi all,
> I've made many experiments and see that pool + load balancer creates a very
> strong connection between client and specific server behind the load
> balancer. For this reason I'd like to be able to "clean" the entire pool in
> any moment and bring it to his "startup" situation, something like a
> "reset". Any tip?
> I've seen the "shutdown" but this will make the pool unusable for further
> http requests ...
>
> Best regards
>
ClientConnectionManager#closeIdleConnections() with zero idle time can
be used to close out all persistent connections without invalidating the
connection manager itself.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org