public class NettyClientStreamRpc extends Object implements DataStreamClientRpc
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
NettyClientStreamRpc(RaftPeer server,
TlsConf tlsConf,
RaftProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<DataStreamReply> |
streamAsync(DataStreamRequest request) |
String |
toString() |
public NettyClientStreamRpc(RaftPeer server, TlsConf tlsConf, RaftProperties properties)
public CompletableFuture<DataStreamReply> streamAsync(DataStreamRequest request)
streamAsync in interface DataStreamClientRpcpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017–2023 The Apache Software Foundation. All rights reserved.