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.CommitLogSegmentFileComparator
reusableBufferHolder
descriptor, ENTRY_OVERHEAD_SIZE, id
Modifier and Type | Method and Description |
---|---|
long |
onDiskSize() |
internalClose
additionalHeaderParameters, contains, contentSize, dirtyString, getContext, getDirtyCFIDs, getName, getPath, isStillAllocating, isUnused, markClean, toString, writeSyncMarker
public long onDiskSize()
onDiskSize
in class CommitLogSegment
Copyright © 2016 The Apache Software Foundation