public abstract class RaftClientRpcWithProxy<PROXY extends Closeable> extends Object implements RaftClientRpc
RaftClientRpc implementation using PeerProxyMap.| 限定符 | 构造器和说明 |
|---|---|
protected |
RaftClientRpcWithProxy(PeerProxyMap<PROXY> proxies) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRaftPeers(Collection<RaftPeer> servers) |
void |
close() |
PeerProxyMap<PROXY> |
getProxies() |
boolean |
handleException(RaftPeerId serverId,
Throwable t,
boolean reconnect)
Handle the given throwable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendRequest, sendRequestAsync, sendRequestAsyncUnordered, shouldReconnectaddRaftPeersprotected RaftClientRpcWithProxy(PeerProxyMap<PROXY> proxies)
public PeerProxyMap<PROXY> getProxies()
public void addRaftPeers(Collection<RaftPeer> servers)
addRaftPeers 在接口中 RaftPeer.Addpublic boolean handleException(RaftPeerId serverId, Throwable t, boolean reconnect)
RaftClientRpchandleException 在接口中 RaftClientRpcpublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2017–2025 The Apache Software Foundation. All rights reserved.