We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a5dbf commit 1fb2118Copy full SHA for 1fb2118
MD/Java基础-IO.md
@@ -1,12 +1,12 @@
1
## BIO
2
-Block-IO:InputStream和OutputStream,Reader和Writer
+Block-IO:InputStream和OutputStream,Reader和Writer。属于同步阻塞模型
3
4
同步阻塞:
5
6

7
8
## NIO
9
-NonBlock-IO:Channel、Buffer、Selector。IO多路复用、同步非阻塞
+NonBlock-IO:Channel、Buffer、Selector。属于IO多路复用的同步非阻塞模型
10
11
同步非阻塞:
12
@@ -27,7 +27,7 @@ IO多路复用:相当于对同步非阻塞的优化版本,区别在于I/O多
27
3. NIO提供直接内存复制方式,消除了JVM与操作系统之间读写内存的损耗
28
29
## AIO
30
-Asynchronous IO:基于事件和回调机制、异步非阻塞
+Asynchronous IO:属于事件和回调机制的异步非阻塞模型
31
32

33
images/NIO-2.png
237 KB
0 commit comments