public static class NettyRpcProxy.PeerMap extends PeerProxyMap<NettyRpcProxy>
LOG| Constructor and Description |
|---|
PeerMap(String name,
RaftProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
NettyRpcProxy |
createProxyImpl(RaftPeer peer) |
addRaftPeers, computeIfAbsent, getName, getProxy, handleException, resetProxyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRaftPeerspublic PeerMap(String name, RaftProperties properties)
public NettyRpcProxy createProxyImpl(RaftPeer peer) throws IOException
createProxyImpl in class PeerProxyMap<NettyRpcProxy>IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class PeerProxyMap<NettyRpcProxy>Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.