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[]
froms
private int[]
hashes
private int[]
lengths
private int
maximumEntryCount
private long
segmentIndex
-
Constructor Summary
Constructors Constructor Description QSequenceLineFileSystemCacheSegment(long segmentIndex, int maximumEntryCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFrom(int index)
int
getHash(int index)
int
getLength(int index)
boolean
isLoaded()
void
load(java.io.RandomAccessFile file)
void
setFromLengthHash(int index, long from, int length, int hash)
void
unload(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
-
-