![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
netty
文章平均质量分 96
netty
haohao_ding
联系邮箱:754124441@qq.com ||
haohao_ding@qq.com
展开
-
netty网络编程2
netty网络编程2 文章目录netty网络编程27.Netty 线程模型Reactor模式Reactor角色Reactor 线程模型单Reactor单线程模型单Reactor多线程模型主从Reactor多线程模型Netty线程模型NioEventLoopNioChannel与ChannelhandlerNetty 基本用法NioChannel 用法ServerBootStrap用法Netty Channel 基本介绍Netty Channel 基本套路UnsafeChannelPipelinepipeli原创 2021-11-25 18:04:14 · 678 阅读 · 1 评论 -
netty网络编程1
Netty网络编程 文章目录Netty网络编程1. IO概念BIO 同步阻塞式 (Blocking I/O)NIO 同步非阻塞式(Non Blocking I/O)AIO 异步非阻塞式(Asynchronous Blocking I/O)2.BIO与NIO模型区别阻塞模型 BIO非阻塞模型 NIO3.NIO 基础组件 Channel 与Buffer缓冲区Buffer缓冲区Buffer定义Buffer 内部结构Buffer核心使用flip操作clear操作rewind操作mark操作Channel 管道Cha原创 2021-11-25 16:59:20 · 538 阅读 · 0 评论