public final class DataStreamReplyByteBuffer extends DataStreamPacketByteBuffer implements DataStreamReply
DataStreamReply with ByteBuffer.
This class is immutable.| Modifier and Type | Class and Description |
|---|---|
static class |
DataStreamReplyByteBuffer.Builder |
EMPTY_BYTE_BUFFER| Modifier and Type | Method and Description |
|---|---|
long |
getBytesWritten() |
Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> |
getCommitInfos() |
boolean |
isSuccess() |
static DataStreamReplyByteBuffer.Builder |
newBuilder() |
String |
toString() |
getDataLength, slicegetClientId, getStreamId, getStreamOffset, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientId, getDataLength, getStreamId, getStreamOffset, getTypepublic static DataStreamReplyByteBuffer.Builder newBuilder()
public boolean isSuccess()
isSuccess in interface DataStreamReplypublic long getBytesWritten()
getBytesWritten in interface DataStreamReplypublic Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> getCommitInfos()
getCommitInfos in interface DataStreamReplypublic String toString()
toString in class DataStreamPacketImplCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.