public interface

IndexCopyService

com.atlassian.jira.index.ha.IndexCopyService
Known Indirect Subclasses

Summary

Public Methods
String backupIndex(String requestingNode)
Back up an index for replicating to another node
String backupIndex(String requestingNode, IndexSnapshotContribution contribution)
Backup an index for replicating to another node
void restoreIndex(String filePath)
Restore an index.

Public Methods

public String backupIndex (String requestingNode)

Back up an index for replicating to another node

Parameters
requestingNode Node requesting the index
Returns
  • the name of the backup file, or null if the backup did not occur

public String backupIndex (String requestingNode, IndexSnapshotContribution contribution)

Backup an index for replicating to another node

Parameters
requestingNode Node requesting the index
contribution an additional contribution to be added to the backup
Returns
  • the name of the backup file, or null if the backup did not occur

public void restoreIndex (String filePath)

Restore an index.

Parameters
filePath path of the zip file containing the index backup.