Class FileDirectSegment

  • Direct Known Subclasses:
    CompressedSegment, EncryptedSegment

    public abstract class FileDirectSegment
    extends CommitLogSegment
    Writes to the backing commit log file only on sync, allowing transformations of the mutations, such as compression or encryption, before writing out to disk.
    • Method Detail

      • internalClose

        protected void internalClose()
        Description copied from class: CommitLogSegment
        Close the segment file. Do not call from outside this class, use syncAndClose() instead.
        Overrides:
        internalClose in class CommitLogSegment
      • flush

        protected void flush​(int startMarker,
                             int nextMarker)