public class IndexInfrastructure
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexInfrastructure.DataInitialization<T> |
Modifier and Type | Field and Description |
---|---|
static boolean |
ourDoAsyncIndicesInitialization |
Modifier and Type | Method and Description |
---|---|
static VirtualFile |
findFileById(PersistentFS fs,
int id) |
static VirtualFile |
findFileByIdIfCached(PersistentFS fs,
int id) |
static java.io.File |
getFileBasedIndexRootDir(java.lang.String indexName) |
static java.io.File |
getIndexRootDir(ID<?,?> indexName) |
static java.io.File |
getInputIndexStorageFile(ID<?,?> indexName) |
static java.io.File |
getPersistentIndexRoot() |
static java.io.File |
getPersistentIndexRootDir(ID<?,?> indexName) |
static java.io.File |
getStorageFile(ID<?,?> indexName) |
static java.io.File |
getStubIndexRootDir(java.lang.String indexName) |
static java.io.File |
getVersionFile(ID<?,?> indexName) |
static boolean |
hasIndices() |
static boolean |
isIndexesInitializationSuspended() |
static <T> java.util.concurrent.Future<T> |
submitGenesisTask(java.util.concurrent.Callable<T> action) |
public static final boolean ourDoAsyncIndicesInitialization
public static java.io.File getVersionFile(ID<?,?> indexName)
public static java.io.File getStorageFile(ID<?,?> indexName)
public static java.io.File getInputIndexStorageFile(ID<?,?> indexName)
public static java.io.File getIndexRootDir(ID<?,?> indexName)
public static java.io.File getPersistentIndexRoot()
public static java.io.File getPersistentIndexRootDir(ID<?,?> indexName)
public static VirtualFile findFileById(PersistentFS fs, int id)
public static VirtualFile findFileByIdIfCached(PersistentFS fs, int id)
public static <T> java.util.concurrent.Future<T> submitGenesisTask(java.util.concurrent.Callable<T> action)
public static java.io.File getFileBasedIndexRootDir(java.lang.String indexName)
public static java.io.File getStubIndexRootDir(java.lang.String indexName)
public static boolean hasIndices()
public static boolean isIndexesInitializationSuspended()