提交 2fbb758f 编写于 作者: 武汉红喜's avatar 武汉红喜

Netty线程模型

上级 7ce8321e
...@@ -148,6 +148,18 @@ protected MultithreadEventExecutorGroup(int nThreads, Executor executor, Object. ...@@ -148,6 +148,18 @@ protected MultithreadEventExecutorGroup(int nThreads, Executor executor, Object.
} }
``` ```
`NioEventLoop`
```java
/**
* The NIO {@link Selector}.
*/
private Selector selector;
private Selector unwrappedSelector;
private SelectedSelectionKeySet selectedKeys;
private final SelectorProvider provider;
```
`SingleThreadEventExecutor` `SingleThreadEventExecutor`
```java ```java
private final Queue<Runnable> taskQueue; private final Queue<Runnable> taskQueue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册