Package de.regnis.q.sequence.line
Class QSequenceLineFileSystemCacheSegment
- java.lang.Object
-
- de.regnis.q.sequence.line.QSequenceLineFileSystemCacheSegment
-
class QSequenceLineFileSystemCacheSegment extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private long[]fromsprivate int[]hashesprivate int[]lengthsprivate intmaximumEntryCountprivate longsegmentIndex
-
Constructor Summary
Constructors Constructor Description QSequenceLineFileSystemCacheSegment(long segmentIndex, int maximumEntryCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetFrom(int index)intgetHash(int index)intgetLength(int index)booleanisLoaded()voidload(java.io.RandomAccessFile file)voidsetFromLengthHash(int index, long from, int length, int hash)voidunload(java.io.RandomAccessFile file)
-
-
-
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
-
-