类 InnerModuleRequestCollectMessageBrokerProcessor

java.lang.Object
com.alipay.remoting.AbstractLifeCycle
com.alipay.remoting.rpc.protocol.AbstractUserProcessor<RequestCollectMessage>
com.alipay.remoting.rpc.protocol.AsyncUserProcessor<RequestCollectMessage>
com.iohao.game.bolt.broker.core.common.AbstractAsyncUserProcessor<RequestCollectMessage>
com.iohao.game.bolt.broker.server.processor.InnerModuleRequestCollectMessageBrokerProcessor
所有已实现的接口:
com.alipay.remoting.LifeCycle, com.alipay.remoting.rpc.protocol.UserProcessor<RequestCollectMessage>, UserProcessorExecutorAware, UserProcessorInNettyThreadAware, BrokerServerAware

public final class InnerModuleRequestCollectMessageBrokerProcessor extends AbstractAsyncUserProcessor<RequestCollectMessage> implements BrokerServerAware
模块之间的访问,访问同类型的多个逻辑服
     如: 模块A 访问 模块B 的某个方法,因为只有模块B持有这些数据
     是把多个相同逻辑服结果聚合在一起

     文档
          请求同类型多个逻辑服通信结果
 
     处理方式使用 CompletableFuture、ForkJoinPool 并行访问所有相同有逻辑服。
 
作者:
渔民小镇
日期:
2022-05-22
  • 构造器详细资料

    • InnerModuleRequestCollectMessageBrokerProcessor

      public InnerModuleRequestCollectMessageBrokerProcessor()
  • 方法详细资料

    • handleRequest

      public void handleRequest(com.alipay.remoting.BizContext bizCtx, com.alipay.remoting.AsyncContext asyncCtx, RequestCollectMessage requestCollectMessage)
      指定者:
      handleRequest 在接口中 com.alipay.remoting.rpc.protocol.UserProcessor<RequestCollectMessage>
      指定者:
      handleRequest 在类中 com.alipay.remoting.rpc.protocol.AsyncUserProcessor<RequestCollectMessage>
    • interest

      public String interest()
      指定者:
      interest 在接口中 com.alipay.remoting.rpc.protocol.UserProcessor<RequestCollectMessage>
      指定者:
      interest 在类中 com.alipay.remoting.rpc.protocol.AsyncUserProcessor<RequestCollectMessage>