@PublicSpi @ParametersAreNonnullByDefault public interface IndexRecoverer
Modifier and Type | Method and Description |
---|---|
void |
reindex()
Trigger a reindex
|
void |
reset(Runnable replaceIndex)
Closes the reader and the writer and create new ones.
|
void |
snapshot(File destDir)
Allows taking a snapshot of the index.
|
void snapshot(File destDir) throws IOException
destDir
- directory in which the snapshot should be savedIOException
void reset(Runnable replaceIndex)
replaceIndex
- method that should be executed before the index has been closed and before the index has been reopenedvoid reindex()
Copyright © 2003–2015 Atlassian. All rights reserved.