httpasyncclinet-reactor-thread
2020-03-20 15:56:11 0 举报
httpasync client
作者其他创作
大纲/内容
addChannel
BaseIOReactor
selectKeys()
Queue<SessionRequstImpl>
DefaultConnecting IOReactor
return readyCount
[!queu.isEmpty]
loop
start()
execute(IODispatch)
regist channel
return SelectionKeys
wakeup
select() 阻塞
processSessionRequest
reactorThread
connectionable channel.finishConnectkey.cacel
processEvent()
DefaultConnectingIOReactor Selector
processEvent(readyCount)
poll
return request
[for(;;)]
loop
SocketChannel connect
workThread_N
wakeup()
0 条评论
下一页