public final class MessageStreamImpl extends Object implements MessageStreamApi
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
LOG |
| 限定符和类型 | 方法和说明 |
|---|---|
MessageOutputStream |
stream()
Create a stream to send a large message.
|
CompletableFuture<RaftClientReply> |
streamAsync(Message message)
Send the given message using a stream with submessage size specified in conf.
|
CompletableFuture<RaftClientReply> |
streamAsync(Message message,
SizeInBytes subSize)
Send the given (large) message using a stream with the submessage size.
|
public MessageOutputStream stream()
MessageStreamApistream 在接口中 MessageStreamApipublic CompletableFuture<RaftClientReply> streamAsync(Message message, SizeInBytes subSize)
MessageStreamApistreamAsync 在接口中 MessageStreamApipublic CompletableFuture<RaftClientReply> streamAsync(Message message)
MessageStreamApistreamAsync 在接口中 MessageStreamApiCopyright © 2017–2025 The Apache Software Foundation. All rights reserved.