Class SimpleIndexEntry

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleIndexEntry​(long msb, long lsb, int position, int length, int generation, int fullGeneration, boolean compacted)  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.