public class PersistentSubIndexerVersionEnumerator<SubIndexerVersion>
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
PersistentSubIndexerVersionEnumerator(java.io.File file,
KeyDescriptor<SubIndexerVersion> subIndexerTypeDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
int |
enumerate(SubIndexerVersion version) |
void |
flush() |
static int |
getStorageSizeLimit() |
static void |
setStorageSizeLimit(int storageSizeLimit) |
SubIndexerVersion |
valueOf(int idx)
should not be used in production code, only testing purposes
|
public PersistentSubIndexerVersionEnumerator(java.io.File file, KeyDescriptor<SubIndexerVersion> subIndexerTypeDescriptor) throws java.io.IOException
java.io.IOException
public int enumerate(SubIndexerVersion version) throws java.io.IOException
java.io.IOException
public SubIndexerVersion valueOf(int idx) throws java.io.IOException
java.io.IOException
public void clear() throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
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
public static void setStorageSizeLimit(int storageSizeLimit)
public static int getStorageSizeLimit()