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