Class QSequenceLineFileSystemCacheSegment


  • class QSequenceLineFileSystemCacheSegment
    extends java.lang.Object
    • Field Detail

      • segmentIndex

        private final long segmentIndex
      • maximumEntryCount

        private final int maximumEntryCount
      • froms

        private long[] froms
      • lengths

        private int[] lengths
      • hashes

        private int[] hashes
    • Constructor Detail

      • QSequenceLineFileSystemCacheSegment

        public QSequenceLineFileSystemCacheSegment​(long segmentIndex,
                                                   int maximumEntryCount)
    • Method Detail

      • isLoaded

        public boolean isLoaded()
      • getFrom

        public long getFrom​(int index)
      • getLength

        public int getLength​(int index)
      • getHash

        public int getHash​(int index)
      • setFromLengthHash

        public void setFromLengthHash​(int index,
                                      long from,
                                      int length,
                                      int hash)
      • load

        public void load​(java.io.RandomAccessFile file)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • unload

        public void unload​(java.io.RandomAccessFile file)
                    throws java.io.IOException
        Throws:
        java.io.IOException