public class SharedIntMapForwardIndex extends java.lang.Object implements IntForwardIndex
Constructor and Description |
---|
SharedIntMapForwardIndex(IndexExtension<?,?,?> extension,
java.io.File verificationIndexStorageFile,
boolean verificationIndexHasChunks) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
force() |
int |
getInt(java.lang.Integer key) |
void |
putInt(java.lang.Integer key,
int value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, put
public SharedIntMapForwardIndex(IndexExtension<?,?,?> extension, java.io.File verificationIndexStorageFile, boolean verificationIndexHasChunks) throws java.io.IOException
java.io.IOException
public int getInt(java.lang.Integer key) throws java.io.IOException
getInt
in interface IntForwardIndex
java.io.IOException
public void putInt(java.lang.Integer key, int value) throws java.io.IOException
putInt
in interface IntForwardIndex
java.io.IOException
public void force()
force
in interface KeyValueStore<java.lang.Integer,ByteArraySequence>
public void clear() throws java.io.IOException
clear
in interface ForwardIndex
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException