hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject RE: How to implement disconnect
Date Thu, 18 Jan 2007 11:15:19 GMT
Hello Lalit,

>             if(mt != null)
>             {
>                 mt.shutdown();
>             }
>         }
> 
> Another option is to call
> MultiThreadedHttpConnectionManager.shutDownALL().
> 
> In the second option all the static resources will be release and all
> threads will be stopped.

If you want to shut down _one_ connection manager, use the first option.
If you want to shut down _all_ connection managers, use the second option.

cheers,
  Roland


Mime
View raw message