public class GrpcServerProtocolClient extends Object implements Closeable
| 构造器和说明 |
|---|
GrpcServerProtocolClient(RaftPeer target,
int flowControlWindow,
TimeDuration requestTimeout,
GrpcTlsConfig tlsConfig,
boolean separateHBChannel) |
public GrpcServerProtocolClient(RaftPeer target, int flowControlWindow, TimeDuration requestTimeout, GrpcTlsConfig tlsConfig, boolean separateHBChannel)
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseablepublic org.apache.ratis.proto.RaftProtos.RequestVoteReplyProto requestVote(org.apache.ratis.proto.RaftProtos.RequestVoteRequestProto request)
public org.apache.ratis.proto.RaftProtos.StartLeaderElectionReplyProto startLeaderElection(org.apache.ratis.proto.RaftProtos.StartLeaderElectionRequestProto request)
public void resetConnectBackoff()
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.