为什么SystemSlot和AuthoritySlot的顺序不同?

in GatewaySlotChainBuilder

public ProcessorSlotChain build() { ··· ··· chain.addLast(new AuthoritySlot()); chain.addLast(new SystemSlot()); chain.addLast(new GatewayFlowSlot()); ··· ··· }

in DefaultSlotChainBuilder

public ProcessorSlotChain build() { ··· ··· chain.addLast(new SystemSlot()); chain.addLast(new AuthoritySlot()); ··· ··· }

为什么SystemSlot和AuthoritySlot的顺序不同?

原提问者GitHub用户wavesZh

展开
收起
码字王 2023-05-19 17:04:25 1307 分享 版权
1 条回答
写回答
取消 提交回答
  • 事实上,GatewaySlotChainBuilder中插槽的顺序比DefaultSlotChain Builder中的要好。

    原回答者GitHub用户sczyh30

    2023-05-19 22:44:15
    赞同 展开评论
问答地址: