手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2013-03-18] 来源:Linux社区  作者:Linux [字体:大 中 小]

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

完整内容请看 here

Netty 的详细介绍:请点这里
Netty 的下载地址:请点这里

linux
相关资讯       Netty 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款