摘要:
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... 阅读全文
摘要:
netty 服务启动流程 NioServerSocketChannel 初始化过程: 1.创建 Java NIO的 ServerSocketChannel; 2.为ServerSocketChannel 注册感兴趣的键以及设置为非阻塞模式; 3.创建默认的 pipeline 以及unsafe 对象; 阅读全文