public class GrpcClientProtocolProxy extends Object implements Closeable
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
GrpcClientProtocolProxy.CloseableStreamObserver |
| 构造器和说明 |
|---|
GrpcClientProtocolProxy(ClientId clientId,
RaftPeer target,
Function<RaftPeer,GrpcClientProtocolProxy.CloseableStreamObserver> responseHandlerCreation,
RaftProperties properties,
GrpcTlsConfig tlsConfig) |
public GrpcClientProtocolProxy(ClientId clientId, RaftPeer target, Function<RaftPeer,GrpcClientProtocolProxy.CloseableStreamObserver> responseHandlerCreation, RaftProperties properties, GrpcTlsConfig tlsConfig)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic void closeCurrentSession()
public void onNext(org.apache.ratis.proto.RaftProtos.RaftClientRequestProto request)
public void onError()
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.