public class

ReplicateIndexReindexCommand

extends Object
implements ProvidesTaskProgress Callable<V>
java.lang.Object
   ↳ com.atlassian.jira.index.ha.ReplicateIndexReindexCommand

Class Overview

A helper class to reindex the replicated index

Summary

Constants
String REINDEXING
Public Constructors
ReplicateIndexReindexCommand(boolean useBackgroundIndexing, IssueIndexManager indexManager, I18nHelper i18nHelper, Logger log)
Public Methods
IndexCommandResult call()
void setTaskProgressSink(TaskProgressSink taskProgressSink)
This is called to set in a TaskProgressSink that can be used to send task progress information to
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.ProvidesTaskProgress
From interface java.util.concurrent.Callable

Constants

public static final String REINDEXING

Constant Value: "The backup JIRA is currently being reindexed. Depending on how large the database is, this may take a few minutes. JIRA will automatically become available as soon as this task is complete."

Public Constructors

public ReplicateIndexReindexCommand (boolean useBackgroundIndexing, IssueIndexManager indexManager, I18nHelper i18nHelper, Logger log)

Public Methods

public IndexCommandResult call ()

Throws
Exception

public void setTaskProgressSink (TaskProgressSink taskProgressSink)

This is called to set in a TaskProgressSink that can be used to send task progress information to

Parameters
taskProgressSink a TaskProgressSink that can be used to send task progress information to