public interface IndexCopyService
Modifier and Type | Method and Description |
---|---|
String |
backupIndex(String requestingNode)
Back up an index for replicating to another node
|
String |
backupIndex(TemporaryFilesProvider temporaryFilesProvider,
String requestingNode)
Backup an index for replicating to another node
|
void |
restoreIndex(String filePath)
Restore an index.
|
String backupIndex(String requestingNode)
requestingNode
- - node that should be notified when backup preparation is availableString backupIndex(@Nullable TemporaryFilesProvider temporaryFilesProvider, @Nullable String requestingNode)
temporaryFilesProvider
- - TemporaryFilesProvider
that will be called upon snapshot archive creationrequestingNode
- - node that should be notified when backup preparation is availablevoid restoreIndex(String filePath)
filePath
- path of the zip file containing the index backup.Copyright © 2002-2023 Atlassian. All Rights Reserved.