public class NettyRpcProxy extends Object implements Closeable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
NettyRpcProxy.PeerMap |
| 构造器和说明 |
|---|
NettyRpcProxy(RaftPeer peer,
RaftProperties properties,
org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup group) |
public NettyRpcProxy(RaftPeer peer, RaftProperties properties, org.apache.ratis.thirdparty.io.netty.channel.EventLoopGroup group) throws InterruptedException
public static long getCallId(org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto proto)
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseablepublic CompletableFuture<org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto> sendAsync(org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerRequestProto proto)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.