Class ActivateAsyncIndexerCommand
java.lang.Object
com.atlassian.jira.web.action.admin.index.ActivateAsyncIndexerCommand
- All Implemented Interfaces:
ProvidesTaskProgress,Callable<IndexCommandResult>
@Internal
@Deprecated(since="10.4",
forRemoval=true)
public class ActivateAsyncIndexerCommand
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
It's Lucene specific, no longer relevant for OpenSearch. No replacement.
Activate an index.
Should not be used interchangeably with ReIndexAsyncIndexerCommand to trigger a full reindex
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionActivateAsyncIndexerCommand(boolean deactivateIndexFirst, com.atlassian.johnson.JohnsonEventContainer eventCont, IndexLifecycleManager indexManager, org.apache.log4j.Logger log, I18nHelper i18nHelper, I18nHelper.BeanFactory i18nBeanFactory) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncall()doReindex(Context context, IndexLifecycleManager indexManager) Deprecated, for removal: This API element is subject to removal in a future version.org.apache.log4j.LoggergetLog()voidsetTaskProgressSink(TaskProgressSink taskProgressSink) This is called to set in a TaskProgressSink that can be used to send task progress information to
-
Constructor Details
-
ActivateAsyncIndexerCommand
public ActivateAsyncIndexerCommand(boolean deactivateIndexFirst, com.atlassian.johnson.JohnsonEventContainer eventCont, IndexLifecycleManager indexManager, org.apache.log4j.Logger log, I18nHelper i18nHelper, I18nHelper.BeanFactory i18nBeanFactory) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
doReindex
Deprecated, for removal: This API element is subject to removal in a future version. -
call
- Specified by:
callin interfaceCallable<IndexCommandResult>
-
getLog
public org.apache.log4j.Logger getLog() -
getI18nHelper
-
setTaskProgressSink
Description copied from interface:ProvidesTaskProgressThis is called to set in a TaskProgressSink that can be used to send task progress information to- Specified by:
setTaskProgressSinkin interfaceProvidesTaskProgress- Parameters:
taskProgressSink- a TaskProgressSink that can be used to send task progress information to
-