Interface IndexEntry

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getFullGeneration()
      Return the full generation of this entry.
      int getGeneration()
      Return the generation of this entry.
      int getLength()
      Return the length of this entry in the TAR file.
      long getLsb()
      Return the least significant bits of the identifier of this entry.
      long getMsb()
      Return the most significant bits of the identifier of this entry.
      int getPosition()
      Return the position of this entry in the TAR file.
      boolean isCompacted()
      Return true if this entry was generated by a compaction operation.
    • Field Detail

      • POSITION_ORDER

        static final java.util.Comparator<IndexEntry> POSITION_ORDER
    • Method Detail

      • getMsb

        long getMsb()
        Return the most significant bits of the identifier of this entry.
        Specified by:
        getMsb in interface SegmentArchiveEntry
        Returns:
        the most significant bits of the identifier of this entry.
      • getLsb

        long getLsb()
        Return the least significant bits of the identifier of this entry.
        Specified by:
        getLsb in interface SegmentArchiveEntry
        Returns:
        the least significant bits of the identifier of this entry.
      • getPosition

        int getPosition()
        Return the position of this entry in the TAR file.
        Returns:
        the position of this entry in the TAR file.
      • getLength

        int getLength()
        Return the length of this entry in the TAR file.
        Specified by:
        getLength in interface SegmentArchiveEntry
        Returns:
        the length of this entry in the TAR file.
      • getGeneration

        int getGeneration()
        Return the generation of this entry.
        Specified by:
        getGeneration in interface SegmentArchiveEntry
        Returns:
        the generation of this entry.
      • getFullGeneration

        int getFullGeneration()
        Return the full generation of this entry.
        Specified by:
        getFullGeneration in interface SegmentArchiveEntry
        Returns:
        the full generation of this entry.
      • isCompacted

        boolean isCompacted()
        Return true if this entry was generated by a compaction operation.
        Specified by:
        isCompacted in interface SegmentArchiveEntry
        Returns:
        true if this entry was generated by a compaction operation.