Netty 4 difference between channel.close() vs channel.disconnect() -


i writing netty http client pooled connection, added pipeline.addlast("timeout", new readtimeouthandler(readtimeout)); while building channel pipeline.

so in readtimeoutexception want close connection, without disturbing other connection in pool, doubt shall call channel.close() , channel.disconnect(), or channel.close() fine enough.

thanks lot suggestions.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -