public class GrpcClientRpc extends RaftClientRpcWithProxy<GrpcClientProtocolClient>
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
LOG |
| 构造器和说明 |
|---|
GrpcClientRpc(ClientId clientId,
RaftProperties properties,
GrpcTlsConfig adminTlsConfig,
GrpcTlsConfig clientTlsConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
RaftClientReply |
sendRequest(RaftClientRequest request) |
CompletableFuture<RaftClientReply> |
sendRequestAsync(RaftClientRequest request) |
CompletableFuture<RaftClientReply> |
sendRequestAsyncUnordered(RaftClientRequest request) |
boolean |
shouldReconnect(Throwable e) |
addRaftPeers, close, getProxies, handleExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRaftPeerspublic GrpcClientRpc(ClientId clientId, RaftProperties properties, GrpcTlsConfig adminTlsConfig, GrpcTlsConfig clientTlsConfig)
public CompletableFuture<RaftClientReply> sendRequestAsync(RaftClientRequest request)
public CompletableFuture<RaftClientReply> sendRequestAsyncUnordered(RaftClientRequest request)
public RaftClientReply sendRequest(RaftClientRequest request) throws IOException
IOExceptionpublic boolean shouldReconnect(Throwable e)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.