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: Can the connection pool be shut down in any way other than explicitly closing?
Date Tue, 18 Jul 2017 13:20:24 GMT
On Tue, 2017-07-18 at 06:46 -0600, Shawn Heisey wrote:
> I have a user on the solr-user mailing list who is running into an
> exception from HttpClient:


> They are using a SolrJ object called CloudSolrClient.  This in turn
> uses
> LBHttpSolrClient, which uses HttpSolrClient, and inside THAT class,
> HttpClient is used.
> What I'd like to know is whether the connection pool can ever be shut
> down *without* explicitly calling close/shutdown ... by some kind of
> error, perhaps.  I suspect that they are calling an explicit action
> to
> shut down either the solr client or the HttpClient, but I don't want
> to
> say that before I ask whether it can happen any other way.
> Thanks,
> Shawn

Hi Shawn 

The #isShutDown flag can be set to true inside #shutdown method only as
far as I can tell.


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

View raw message