红联Linux门户
Linux帮助

Netty 4.0.0.Beta3发布,网络应用开发框架

发布时间:2013-03-18 14:54:41来源:红联作者:empast
Netty 提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。

Netty 4.0.0.Beta3 发布,改进内容包括:

Our future/promise API has been refactored so that it can be used without an associated Channel at all. You will like this change if you did not like java.util.concurrent.Future. Please refer to the API documentation for more information. (#1065)
ChannelHandler.userEventTriggered() event handler method has been moved to ChannslStateHandler. (#1107)
Potential I/O starvaion in NioEventLoop has been fixed by introducing a parameter called ioRatio, which allows you to limit the percantage of time spent by non-I/O tasks. (#1154)
ByteToByteEncoder now intercepts a sendFile(FileRegion) operation and filter the content of the FileRegion for 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() and ByteBuf.memoryAddress() were added to allow a user access the buffer using sun.misc.Unsafe for even faster buffer access. (#1110)
ThreadPerChannelEventLoopGroup and ThreadPerChannelEventLoop have been added to allow a user to build a thread-per-channel transport more easily. (#1124)
17 bug fixes and more

完整内容请看 https://github.com/netty/netty/issues?milestone=45&state=closed

项目主页:http://netty.io/

下载地址:https://github.com/netty/netty

来自:开源中国社区
文章评论

共有 0 条评论