Netty 提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。
Netty 4.0.0.Beta3 发布,改进内容包括:
- Our future/promise API has been refactored so that it can be used without an associated
Channelat all. You will like this change if you did not likejava.util.concurrent.Future. Please refer to the API documentation for more information. (#1065) ChannelHandler.userEventTriggered()event handler method has been moved toChannslStateHandler. (#1107)- Potential I/O starvaion in
NioEventLoophas been fixed by introducing a parameter calledioRatio, which allows you to limit the percantage of time spent by non-I/O tasks. (#1154) ByteToByteEncodernow intercepts asendFile(FileRegion)operation and filter the content of theFileRegionfor your convenience. (#1106)- Google protobuf has been upgraded to version 2.5 to get decoding performance improvement. (#1139)
ChannelHandlerContext.nextInbound/OutboundBufferType()has been added for handlers that have to behave differently depending on the type of the next handler's buffer. (#1132)ChannelOutboundMessageHandlerAdapter.beginFlush()now has to return a boolean value to accept or reject the flush request where the default implementation is to accept. (#1141)ByteBuf.hasMemoryAddress()andByteBuf.memoryAddress()were added to allow a user access the buffer usingsun.misc.Unsafefor even faster buffer access. (#1110)ThreadPerChannelEventLoopGroupandThreadPerChannelEventLoophave been added to allow a user to build a thread-per-channel transport more easily. (#1124)- 17 bug fixes and more
完整内容请看 here
Netty 的详细介绍:请点这里
Netty 的下载地址:请点这里
