Class RebuildIndexTask
java.lang.Object
com.atlassian.confluence.plugins.edgeindex.tasks.RebuildIndexTask
- All Implemented Interfaces:
EdgeIndexTask,ConfluenceIndexTask,ConvertibleToJournalEntry,IndexTask
Task to rebuild the edge index
- Since:
- 8.8.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRebuildIndexTask(EdgeIndexTaskFactory edgeIndexTaskFactory, EdgeReindexer edgeReindexer, EdgeSearchIndexAccessor edgeSearchIndexAccessor, RebuildIndexTask.RebuildIndexParams rebuildIndexParams) -
Method Summary
Modifier and TypeMethodDescriptionA description of the task that can be presented to the user via the UI.voidperform(SearchIndexWriter searchIndexWriter) Executes this task against a document writer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.ConfluenceIndexTask
isRetryableMethods inherited from interface com.atlassian.confluence.plugins.edgeindex.EdgeIndexTask
convertToJournalEntry
-
Constructor Details
-
RebuildIndexTask
public RebuildIndexTask(EdgeIndexTaskFactory edgeIndexTaskFactory, EdgeReindexer edgeReindexer, EdgeSearchIndexAccessor edgeSearchIndexAccessor, RebuildIndexTask.RebuildIndexParams rebuildIndexParams)
-
-
Method Details
-
getSearchIndex
- Specified by:
getSearchIndexin interfaceConfluenceIndexTask- Returns:
- the
SearchIndexthat the task should write to
-
perform
Description copied from interface:ConfluenceIndexTaskExecutes this task against a document writer.- Specified by:
performin interfaceConfluenceIndexTask- Throws:
IOException
-
getDescription
Description copied from interface:IndexTaskA description of the task that can be presented to the user via the UI.- Specified by:
getDescriptionin interfaceIndexTask- Returns:
- an readable message.
-