public class IndexingStamp
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
dropIndexingTimeStamps(int fileId) |
static void |
flushCache(java.lang.Integer finishedFile) |
static void |
flushCaches() |
static long |
getIndexCreationStamp(ID<?,?> indexName) |
static long |
getIndexStamp(int fileId,
ID<?,?> indexName) |
static java.util.List<ID<?,?>> |
getNontrivialFileIndexedStates(int fileId) |
static void |
initPersistentIndexStamp(java.io.DataInput in) |
static boolean |
isFileIndexedStateCurrent(int fileId,
ID<?,?> indexName) |
static void |
rewriteVersion(ID<?,?> indexId,
int version) |
static void |
savePersistentIndexStamp(java.io.DataOutput out) |
static void |
setFileIndexedStateCurrent(int fileId,
ID<?,?> id) |
static void |
setFileIndexedStateOutdated(int fileId,
ID<?,?> id) |
static void |
update(int fileId,
ID<?,?> indexName,
long indexCreationStamp) |
static boolean |
versionDiffers(ID<?,?> indexId,
int currentIndexVersion) |
public static void initPersistentIndexStamp(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public static void savePersistentIndexStamp(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public static void rewriteVersion(ID<?,?> indexId, int version) throws java.io.IOException
java.io.IOException
public static boolean versionDiffers(ID<?,?> indexId, int currentIndexVersion)
public static long getIndexCreationStamp(ID<?,?> indexName)
public static boolean isFileIndexedStateCurrent(int fileId, ID<?,?> indexName)
public static void setFileIndexedStateCurrent(int fileId, ID<?,?> id)
public static void setFileIndexedStateOutdated(int fileId, ID<?,?> id)
public static long getIndexStamp(int fileId, ID<?,?> indexName)
public static void dropIndexingTimeStamps(int fileId) throws java.io.IOException
java.io.IOException
public static void update(int fileId, ID<?,?> indexName, long indexCreationStamp)
public static java.util.List<ID<?,?>> getNontrivialFileIndexedStates(int fileId)
public static void flushCaches()
public static void flushCache(java.lang.Integer finishedFile)