public final class DataStreamReplyByteBuffer extends DataStreamPacketByteBuffer implements DataStreamReply
DataStreamReply with ByteBuffer.
This class is immutable.| 限定符和类型 | 类和说明 |
|---|---|
static class |
DataStreamReplyByteBuffer.Builder |
EMPTY_BYTE_BUFFER| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 DataStreamReplypublic long getBytesWritten()
getBytesWritten 在接口中 DataStreamReplypublic Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> getCommitInfos()
getCommitInfos 在接口中 DataStreamReplypublic String toString()
toString 在类中 DataStreamPacketImplCopyright © 2017–2023 The Apache Software Foundation. All rights reserved.