我很高兴的宣布 Netty 4.0 的首个 RC 版本终于来了,这意味该软件已经具备了最终稳定的条件。
你可通过下载页面或者 Maven 中心获取该版本。
值得关注的改变有:
- We change our EventExecutor to return our own Future implementation (which extends java.util.concurrent.Future now). This allows you to add listeners to the returned futures and so get notified once a task was completed. Please refer to the API documentation for more information. (#1174)
- Add the
WebSocketClientProtocolHandler, which makes it even more easy to write WebSocket-Only clients. (#1179) - Possible deadlock in Bootstrap and ServerBootstrap durring bind/connect was fixed. (#1175)
- Fix bug which could produce a 100 % CPU spin if many NIO bases channels are closed at the same time (#1171)
- Added alternative constructor to *Adapter classes to make them usable from languages that have no meaning for Generics. (#1177)
- Automatically rebuild Selector if hit by e-poll bug. (#1192)
- Do not use separate thread for scheduling deferred tasks if possible. (#817)
- Other bugfixes
完整内容请看 here
Netty 的详细介绍:请点这里
Netty 的下载地址:请点这里
