类 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
-
嵌套类概要
从接口继承的嵌套类/接口 com.alipay.remoting.rpc.protocol.UserProcessor
com.alipay.remoting.rpc.protocol.UserProcessor.ExecutorSelector
-
字段概要
从类继承的字段 com.alipay.remoting.rpc.protocol.AbstractUserProcessor
executorSelector
-
构造器概要
-
方法概要
修饰符和类型方法说明void
handleRequest
(com.alipay.remoting.BizContext bizCtx, com.alipay.remoting.AsyncContext asyncCtx, RequestCollectMessage requestCollectMessage) interest()
从类继承的方法 com.iohao.game.bolt.broker.core.common.AbstractAsyncUserProcessor
getExecutor, getUserProcessorExecutor, inNettyThreadExecute, processInIOThread, setInNettyThread, setUserProcessorExecutor
从类继承的方法 com.alipay.remoting.rpc.protocol.AsyncUserProcessor
handleRequest
从类继承的方法 com.alipay.remoting.rpc.protocol.AbstractUserProcessor
getBizClassLoader, getExecutorSelector, preHandleRequest, setExecutorSelector, timeoutDiscard
从类继承的方法 com.alipay.remoting.AbstractLifeCycle
ensureStarted, isStarted, shutdown, startup
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.iohao.game.bolt.broker.server.aware.BrokerServerAware
setBrokerServer
从接口继承的方法 com.alipay.remoting.LifeCycle
isStarted, shutdown, startup
-
构造器详细资料
-
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
- 指定者:
interest
在接口中com.alipay.remoting.rpc.protocol.UserProcessor<RequestCollectMessage>
- 指定者:
interest
在类中com.alipay.remoting.rpc.protocol.AsyncUserProcessor<RequestCollectMessage>
-