Class CompactedNodeState

  • All Implemented Interfaces:
    NodeState

    public abstract class CompactedNodeState
    extends SegmentNodeState
    Simple wrapper class for SegmentNodeState to keep track of fully and partially compacted nodes.
    • Method Detail

      • isComplete

        public final boolean isComplete()
      • getSegment

        protected Segment getSegment()
        Returns the segment that contains this record.
        Returns:
        segment that contains this record
      • getRecordNumber

        protected int getRecordNumber()
      • getRecordId

        public RecordId getRecordId()
        Returns the identifier of this record.
        Returns:
        record identifier
      • getGcGeneration

        @NotNull
        public @NotNull GCGeneration getGcGeneration()
        Get the underlying segment's gc generation. Might cause the segment to get loaded if the generation info is missing
        Returns:
        the segment's gc generation