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(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() |
internalClose
additionalHeaderParameters, contains, contentSize, coverInMap, dirtyString, getCDCState, getCurrentCommitLogPosition, getDirtyCFIDs, getName, getPath, isStillAllocating, isUnused, markClean, setCDCState, toString, writeSyncMarker
public long onDiskSize()
onDiskSize
in class CommitLogSegment
Copyright © 2017 The Apache Software Foundation