Class MemoryMappedSegment
java.lang.Object
org.apache.cassandra.db.commitlog.CommitLogSegment
org.apache.cassandra.db.commitlog.MemoryMappedSegment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class org.apache.cassandra.db.commitlog.CommitLogSegment
CommitLogSegment.Allocation, CommitLogSegment.Builder, CommitLogSegment.CDCState, CommitLogSegment.CommitLogSegmentFileComparator -
Field Summary
Fields inherited from class org.apache.cassandra.db.commitlog.CommitLogSegment
descriptor, ENTRY_OVERHEAD_SIZE, id, manager -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBufferprotected voidflush(int startMarker, int nextMarker) protected voidClose the segment file.longMethods inherited from class org.apache.cassandra.db.commitlog.CommitLogSegment
additionalHeaderParameters, contains, contentSize, coverInMap, dirtyString, getCDCFile, getCDCIndexFile, getCDCState, getCurrentCommitLogPosition, getDirtyTableIds, getName, getPath, isStillAllocating, isUnused, markClean, resetReplayLimit, setCDCState, toString, writeCDCIndexFile, writeSyncMarker
-
Method Details
-
createBuffer
- Overrides:
createBufferin classCommitLogSegment
-
flush
protected void flush(int startMarker, int nextMarker) -
onDiskSize
public long onDiskSize()- Specified by:
onDiskSizein classCommitLogSegment
-
internalClose
protected void internalClose()Description copied from class:CommitLogSegmentClose the segment file. Do not call from outside this class, use syncAndClose() instead.- Overrides:
internalClosein classCommitLogSegment
-