public class SegmentedRaftLogInputStream extends Object implements Closeable
| Constructor and Description |
|---|
SegmentedRaftLogInputStream(File log,
long startIndex,
long endIndex,
boolean isOpen) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.ratis.proto.RaftProtos.LogEntryProto |
nextEntry() |
String |
toString() |
public SegmentedRaftLogInputStream(File log, long startIndex, long endIndex, boolean isOpen)
public org.apache.ratis.proto.RaftProtos.LogEntryProto nextEntry() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017–2021 The Apache Software Foundation. All rights reserved.