File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
- [ 2.3 NIO 读数据和写数据方式] ( #23-nio-读数据和写数据方式 )
19
19
- [ 2.4 NIO核心组件简单介绍] ( #24-nio核心组件简单介绍 )
20
20
- [ 2.5 代码示例] ( #25-代码示例 )
21
- - [ AIO \( Asynchronous I/O\) ] ( #aio-asynchronous-io )
21
+ - [ 3. AIO \( Asynchronous I/O\) ] ( #3- aio-asynchronous-io )
22
22
- [ 参考] ( #参考 )
23
23
24
24
<!-- /MarkdownTOC -->
@@ -333,7 +333,7 @@ public class NIOServer {
333
333
334
334
Netty 的出现很大程度上改善了 JDK 原生 NIO 所存在的一些让人难以忍受的问题。
335
335
336
- ### AIO (Asynchronous I/O)
336
+ ### 3. AIO (Asynchronous I/O)
337
337
338
338
AIO 也就是 NIO 2。在 Java 7 中引入了 NIO 的改进版 NIO 2,它是异步非阻塞的IO模型。异步 IO 是基于事件和回调机制实现的,也就是应用操作之后会直接返回,不会堵塞在那里,当后台处理完成,操作系统会通知相应的线程进行后续的操作。
339
339
@@ -344,4 +344,4 @@ AIO 是异步IO的缩写,虽然 NIO 在网络操作中,提供了非阻塞的
344
344
## 参考
345
345
346
346
- 《Netty 权威指南》第二版
347
- - https://zhuanlan.zhihu.com/p/23488863 (美团技术团队)
347
+ - https://zhuanlan.zhihu.com/p/23488863 (美团技术团队)
You can’t perform that action at this time.
0 commit comments