com.atlassian.jira.index.ha
Interface IndexRecoveryManager

All Superinterfaces:
Sized
All Known Implementing Classes:
DefaultIndexRecoveryManager

public interface IndexRecoveryManager
extends Sized

Manager to recover an index from a previous index backup

Since:
v6.2

Method Summary
 IndexCommandResult recoverIndexFromBackup(Context context, I18nHelper i18n, String recoveryFilename, TaskProgressSink taskProgressSink)
          Recovers an index from an index backup
 
Methods inherited from interface com.atlassian.jira.util.collect.Sized
isEmpty, size
 

Method Detail

recoverIndexFromBackup

IndexCommandResult recoverIndexFromBackup(Context context,
                                          I18nHelper i18n,
                                          String recoveryFilename,
                                          TaskProgressSink taskProgressSink)
                                          throws IndexException
Recovers an index from an index backup

Parameters:
context - Context
i18n -
recoveryFilename - The backup file
taskProgressSink -
Throws:
IndexException - If we are unable to recover the index


Copyright © 2002-2014 Atlassian. All Rights Reserved.