类的使用
com.alibaba.nacos.core.distributed.raft.JRaftServer
-
使用JRaftServer的程序包 程序包 说明 com.alibaba.nacos.core.distributed.raft com.alibaba.nacos.core.distributed.raft.processor com.alibaba.nacos.core.distributed.raft.utils -
-
com.alibaba.nacos.core.distributed.raft中JRaftServer的使用
声明为JRaftServer的com.alibaba.nacos.core.distributed.raft中的字段 修饰符和类型 字段 说明 private JRaftServerJRaftMaintainService. raftServerprivate JRaftServerJRaftProtocol. raftServerprotected JRaftServerNacosStateMachine. server参数类型为JRaftServer的com.alibaba.nacos.core.distributed.raft中的构造器 构造器 说明 JRaftMaintainService(JRaftServer raftServer)NacosStateMachine(JRaftServer server, com.alibaba.nacos.consistency.cp.RequestProcessor4CP processor) -
com.alibaba.nacos.core.distributed.raft.processor中JRaftServer的使用
声明为JRaftServer的com.alibaba.nacos.core.distributed.raft.processor中的字段 修饰符和类型 字段 说明 private JRaftServerNacosReadRequestProcessor. serverprivate JRaftServerNacosWriteRequestProcessor. server参数类型为JRaftServer的com.alibaba.nacos.core.distributed.raft.processor中的方法 修饰符和类型 方法 说明 protected voidAbstractProcessor. execute(JRaftServer server, com.alipay.sofa.jraft.rpc.RpcContext asyncCtx, com.google.protobuf.Message message, JRaftServer.RaftGroupTuple tuple)protected voidAbstractProcessor. handleRequest(JRaftServer server, java.lang.String group, com.alipay.sofa.jraft.rpc.RpcContext rpcCtx, com.google.protobuf.Message message)参数类型为JRaftServer的com.alibaba.nacos.core.distributed.raft.processor中的构造器 构造器 说明 NacosReadRequestProcessor(JRaftServer server, com.alibaba.nacos.consistency.Serializer serializer)NacosWriteRequestProcessor(JRaftServer server, com.alibaba.nacos.consistency.Serializer serializer) -
com.alibaba.nacos.core.distributed.raft.utils中JRaftServer的使用
参数类型为JRaftServer的com.alibaba.nacos.core.distributed.raft.utils中的方法 修饰符和类型 方法 说明 static com.alipay.sofa.jraft.rpc.RpcServerJRaftUtils. initRpcServer(JRaftServer server, com.alipay.sofa.jraft.entity.PeerId peerId)
-