NioServer
2018-05-08 08:56:03 0 举报
AI智能生成
netty work
作者其他创作
大纲/内容
NioServerBossPool
NioWorkerPool
AbstractNioWorkerPool
创建了一个AbstractNioWork类型的数组调用newWorker()方法
由于newWorker()被nioWork重载了,所以调用的nioWork
调用SelectorUtil.open
openSelector
DeadLockProofWorker.start(executor, newThreadRenamingRunnable(id, determiner))
newThreadRenamingRunnable(id, determiner).run();
super.run()
最后就是完成各自的方法业务了
自由主题
0 条评论
下一页