| Constructor and Description |
|---|
EntryWithData(org.apache.ratis.proto.RaftProtos.LogEntryProto logEntry,
CompletableFuture<org.apache.ratis.thirdparty.com.google.protobuf.ByteString> future) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.ratis.proto.RaftProtos.LogEntryProto |
getEntry(TimeDuration timeout) |
long |
getIndex() |
int |
getSerializedSize() |
String |
toString() |
public EntryWithData(org.apache.ratis.proto.RaftProtos.LogEntryProto logEntry, CompletableFuture<org.apache.ratis.thirdparty.com.google.protobuf.ByteString> future)
public long getIndex()
public int getSerializedSize()
public org.apache.ratis.proto.RaftProtos.LogEntryProto getEntry(TimeDuration timeout) throws RaftLogIOException, TimeoutException
RaftLogIOExceptionTimeoutExceptionCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.