public class NettyRpcProxy extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
NettyRpcProxy.PeerMap |
| Constructor and Description |
|---|
NettyRpcProxy(RaftPeer peer,
RaftProperties properties,
org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup group) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static long |
getCallId(org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto proto) |
org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto |
send(org.apache.ratis.proto.RaftProtos.RaftRpcRequestProto request,
org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerRequestProto proto) |
public NettyRpcProxy(RaftPeer peer, RaftProperties properties, org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup group) throws InterruptedException
InterruptedExceptionpublic static long getCallId(org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto proto)
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017–2023 The Apache Software Foundation. All rights reserved.