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.CommitLogSegmentFileComparatordescriptor, ENTRY_OVERHEAD_SIZE, id, manager| Modifier and Type | Method and Description |
|---|---|
long |
onDiskSize() |
flush, internalCloseadditionalHeaderParameters, contains, contentSize, coverInMap, dirtyString, getCDCState, getCurrentCommitLogPosition, getDirtyCFIDs, getName, getPath, isStillAllocating, isUnused, markClean, setCDCState, toString, writeSyncMarkerpublic long onDiskSize()
onDiskSize in class CommitLogSegmentCopyright © 2018 The Apache Software Foundation