public class NettyClientRpc extends RaftClientRpcWithProxy<NettyRpcProxy>
| 构造器和说明 |
|---|
NettyClientRpc(ClientId clientId,
RaftProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
RaftClientReply |
sendRequest(RaftClientRequest request) |
CompletableFuture<RaftClientReply> |
sendRequestAsync(RaftClientRequest request) |
addRaftPeers, close, getProxies, handleExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendRequestAsyncUnordered, shouldReconnectaddRaftPeerspublic NettyClientRpc(ClientId clientId, RaftProperties properties)
public CompletableFuture<RaftClientReply> sendRequestAsync(RaftClientRequest request)
public RaftClientReply sendRequest(RaftClientRequest request) throws IOException
IOExceptionCopyright © 2017–2025 The Apache Software Foundation. All rights reserved.