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.CommitLogSegmentFileComparatorreusableBufferHolderdescriptor, ENTRY_OVERHEAD_SIZE, id| Modifier and Type | Method and Description |
|---|---|
long |
onDiskSize() |
internalCloseadditionalHeaderParameters, contains, contentSize, dirtyString, getContext, getDirtyCFIDs, getName, getPath, isStillAllocating, isUnused, markClean, toString, writeSyncMarkerpublic long onDiskSize()
onDiskSize in class CommitLogSegmentCopyright © 2016 The Apache Software Foundation