Interface IndexSnapshotOperator

All Known Implementing Classes:
DefaultIndexSnapshotOperator

public interface IndexSnapshotOperator
Provides a set of methods to manage index snapshot creation and existing index snapshot files.
  • Method Details

    • forceCreateSnapshot

      IndexSnapshotCreationResult forceCreateSnapshot()
    • forceCreateSnapshot

      IndexSnapshotCreationResult forceCreateSnapshot(TemporaryFilesProvider temporaryFilesProvider, String notifyNode)
    • tryCreateSnapshot

      IndexSnapshotCreationResult tryCreateSnapshot()
    • performIndexSnapshotBackupAndCleanupAsync

      IndexSnapshotAsyncStartResult performIndexSnapshotBackupAndCleanupAsync()
      Triggers creation of a jira snapshot index. Does not wait for completion and returns a name of the snapshot to be created.
      Returns:
      Status of the attempt to start the index snapshot creation.
    • listIndexSnapshotFiles

      List<File> listIndexSnapshotFiles()
      Lists all files representing currently available index snapshots.
      Returns:
      List of currently available index snapshot files.
    • isIndexSnapshotRunning

      boolean isIndexSnapshotRunning()
      Returns:
      true if index snapshot is currently being created on any node.