public class CompressedSegment extends FileDirectSegment
CommitLogDescriptor.writeHeader(ByteBuffer, CommitLogDescriptor)
)
- a series of 'sync segments' that are written every time the commit log is sync()'ed
-- a sync section header, see CommitLogSegment.writeSyncMarker(long, ByteBuffer, int, int, int)
-- total plain text length for this section
-- a block of compressed dataCommitLogSegment.Allocation, CommitLogSegment.CDCState, CommitLogSegment.CommitLogSegmentFileComparator
descriptor, ENTRY_OVERHEAD_SIZE, id, manager
Modifier and Type | Method and Description |
---|---|
long |
onDiskSize() |
flush, internalClose
additionalHeaderParameters, contains, contentSize, coverInMap, dirtyString, getCDCFile, getCDCIndexFile, getCDCState, getCurrentCommitLogPosition, getDirtyTableIds, getName, getPath, isStillAllocating, isUnused, markClean, setCDCState, toString, writeCDCIndexFile, writeSyncMarker
public long onDiskSize()
onDiskSize
in class CommitLogSegment
Copyright © 2009-2021 The Apache Software Foundation