com.atlassian.jira.index.ha
Class ReplicateIndexReindexCommand

java.lang.Object
  extended by com.atlassian.jira.index.ha.ReplicateIndexReindexCommand
All Implemented Interfaces:
ProvidesTaskProgress, Callable<IndexCommandResult>

public class ReplicateIndexReindexCommand
extends Object
implements Callable<IndexCommandResult>, ProvidesTaskProgress

A helper class to reindex the replicated index

Since:
v6.1

Field Summary
static String REINDEXING
           
 
Constructor Summary
ReplicateIndexReindexCommand(boolean useBackgroundIndexing, IssueIndexManager indexManager, I18nHelper i18nHelper, org.apache.log4j.Logger log)
           
 
Method Summary
 IndexCommandResult call()
           
 void setTaskProgressSink(TaskProgressSink taskProgressSink)
          This is called to set in a TaskProgressSink that can be used to send task progress information to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REINDEXING

public static final String REINDEXING
See Also:
Constant Field Values
Constructor Detail

ReplicateIndexReindexCommand

public ReplicateIndexReindexCommand(boolean useBackgroundIndexing,
                                    IssueIndexManager indexManager,
                                    I18nHelper i18nHelper,
                                    org.apache.log4j.Logger log)
Method Detail

call

public IndexCommandResult call()
                        throws Exception
Specified by:
call in interface Callable<IndexCommandResult>
Throws:
Exception

setTaskProgressSink

public void setTaskProgressSink(TaskProgressSink taskProgressSink)
Description copied from interface: ProvidesTaskProgress
This is called to set in a TaskProgressSink that can be used to send task progress information to

Specified by:
setTaskProgressSink in interface ProvidesTaskProgress
Parameters:
taskProgressSink - a TaskProgressSink that can be used to send task progress information to


Copyright © 2002-2014 Atlassian. All Rights Reserved.