public interface FileBasedIndexInfrastructureExtension
Modifier and Type | Interface and Description |
---|---|
static interface |
FileBasedIndexInfrastructureExtension.FileIndexingStatusProcessor |
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<FileBasedIndexInfrastructureExtension> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
<K,V> UpdatableIndex<K,V,FileContent> |
combineIndex(FileBasedIndexExtension<K,V> indexExtension,
UpdatableIndex<K,V,FileContent> baseIndex)
Allows the extension point to replace the original
UpdatableIndex for
the given with a combined index (base part from FileBasedIndexImpl and customizable one)
that that uses the internal state of the extension to supply indexes |
FileBasedIndexInfrastructureExtension.FileIndexingStatusProcessor |
createFileIndexingStatusProcessor(Project project) |
void |
onFileBasedIndexVersionChanged(ID<?,?> indexId)
Notifies the extension to handle that version of existing file based index version has been changed.
|
void |
onStubIndexVersionChanged(StubIndexKey<?,?> indexId)
Notifies the extension to handle that version of existing stub index has been changed.
|
void |
performShutdown()
Executed when IntelliJ is shutting down it's indexes (IDE shutdown or plugin load/unload).
|
void |
processProjectEntries(Project project,
java.util.Set<OrderEntry> entries,
ProgressIndicator indicator)
This notification is send from an IDE to let the extension point implementation
update it's internal state in order to supply indexes for the given .
|
static final ExtensionPointName<FileBasedIndexInfrastructureExtension> EP_NAME
void processProjectEntries(Project project, java.util.Set<OrderEntry> entries, ProgressIndicator indicator)
FileBasedIndexInfrastructureExtension.FileIndexingStatusProcessor createFileIndexingStatusProcessor(Project project)
<K,V> UpdatableIndex<K,V,FileContent> combineIndex(FileBasedIndexExtension<K,V> indexExtension, UpdatableIndex<K,V,FileContent> baseIndex)
UpdatableIndex
for
the given with a combined index (base part from FileBasedIndexImpl
and customizable one)
that that uses the internal state of the extension to supply indexesvoid onFileBasedIndexVersionChanged(ID<?,?> indexId)
FileBasedIndex
notifies even if index composite version (extension version + implementation version)
is changed FileBasedIndexImpl.getIndexExtensionVersion(FileBasedIndexExtension)
.indexId
- that version is updated.void onStubIndexVersionChanged(StubIndexKey<?,?> indexId)
indexId
- that version is updated.void performShutdown()
performShutdown()