摘要: Excutor 源码解读:/** * An object that executes submitted {@link Runnable} tasks. This * interface provides a way of decoupling task submission from the * mechanics of how each task will be run, includ... 阅读全文
posted @ 2018-09-23 21:20 iscys 阅读(255) 评论(0) 推荐(0) 编辑
摘要: netty 服务启动流程 NioServerSocketChannel 初始化过程: 1.创建 Java NIO的 ServerSocketChannel; 2.为ServerSocketChannel 注册感兴趣的键以及设置为非阻塞模式; 3.创建默认的 pipeline 以及unsafe 对象; 阅读全文
posted @ 2018-09-23 21:19 iscys 阅读(293) 评论(0) 推荐(0) 编辑