netty - HexDumpProxyFrontendHandler volatile field -


as far understood methods within channelhandler classes executed same thread. correct me if i'm wrong.

what point declare field volatile in example?

private volatile channel outboundchannel;

http://netty.io/4.1/xref/io/netty/example/proxy/hexdumpproxyfrontendhandler.html

this bug in examples. not needed. let me fix it.


Comments

Popular posts from this blog

android - How to read a column value in parse.com without accessing an object or a pointer -

ios - NSDateFormatter: error in converting date -

timer - Java TimerTask cancel -