Class CommitLogSegmentReader.SyncSegment
- java.lang.Object
-
- org.apache.cassandra.db.commitlog.CommitLogSegmentReader.SyncSegment
-
- Enclosing class:
- CommitLogSegmentReader
public static class CommitLogSegmentReader.SyncSegment extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description intendPositionthe logical ending position of the bufferintfileEndPositionoffset in file where this section ends.intfileStartPositionoffset in file where this section begins.FileDataInputinputthe 'buffer' to replay commit log data frombooleantoleratesErrorsInSection
-
Constructor Summary
Constructors Constructor Description SyncSegment(FileDataInput input, int fileStartPosition, int fileEndPosition, int endPosition, boolean toleratesErrorsInSection)
-
-
-
Field Detail
-
input
public final FileDataInput input
the 'buffer' to replay commit log data from
-
fileStartPosition
public final int fileStartPosition
offset in file where this section begins.
-
fileEndPosition
public final int fileEndPosition
offset in file where this section ends.
-
endPosition
public final int endPosition
the logical ending position of the buffer
-
toleratesErrorsInSection
public final boolean toleratesErrorsInSection
-
-
Constructor Detail
-
SyncSegment
public SyncSegment(FileDataInput input, int fileStartPosition, int fileEndPosition, int endPosition, boolean toleratesErrorsInSection)
-
-