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.IOExceptionpublic int enumerate(SubIndexerVersion version) throws java.io.IOException
java.io.IOExceptionpublic SubIndexerVersion valueOf(int idx) throws java.io.IOException
java.io.IOExceptionpublic void clear()
throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic static void setStorageSizeLimit(int storageSizeLimit)
public static int getStorageSizeLimit()