public class SegmentedRaftLogInputStream extends Object implements Closeable
| 构造器和说明 |
|---|
SegmentedRaftLogInputStream(File log,
long startIndex,
long endIndex,
boolean isOpen) |
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 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.