public class CommitLogSegmentReader extends java.lang.Object implements java.lang.Iterable<CommitLogSegmentReader.SyncSegment>
Modifier and Type | Class and Description |
---|---|
protected class |
CommitLogSegmentReader.SegmentIterator |
static class |
CommitLogSegmentReader.SegmentReadException |
static class |
CommitLogSegmentReader.SyncSegment |
Modifier and Type | Field and Description |
---|---|
protected int |
end
ending position of the current sync section.
|
Modifier | Constructor and Description |
---|---|
protected |
CommitLogSegmentReader(CommitLogReadHandler handler,
CommitLogDescriptor descriptor,
RandomAccessReader reader,
boolean tolerateTruncation) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<CommitLogSegmentReader.SyncSegment> |
iterator() |
protected CommitLogSegmentReader(CommitLogReadHandler handler, CommitLogDescriptor descriptor, RandomAccessReader reader, boolean tolerateTruncation)
public java.util.Iterator<CommitLogSegmentReader.SyncSegment> iterator()
iterator
in interface java.lang.Iterable<CommitLogSegmentReader.SyncSegment>
Copyright © 2009-2021 The Apache Software Foundation