Class SimpleIndexEntry

    • Constructor Detail

      • SimpleIndexEntry

        public SimpleIndexEntry​(long msb,
                                long lsb,
                                int position,
                                int length,
                                int generation,
                                int fullGeneration,
                                boolean compacted)
    • Method Detail

      • getMsb

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

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

        public int getPosition()
        Description copied from interface: IndexEntry
        Return the position of this entry in the TAR file.
        Specified by:
        getPosition in interface IndexEntry
        Returns:
        the position of this entry in the TAR file.
      • getLength

        public int getLength()
        Description copied from interface: IndexEntry
        Return the length of this entry in the TAR file.
        Specified by:
        getLength in interface IndexEntry
        Specified by:
        getLength in interface SegmentArchiveEntry
        Returns:
        the length of this entry in the TAR file.
      • isCompacted

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