public class BackgroundIndexSnapshotOperator extends Object implements IndexSnapshotOperator
Constructor and Description |
---|
BackgroundIndexSnapshotOperator(FileStores fileStores,
IndexUtils indexUtils) |
Modifier and Type | Method and Description |
---|---|
List<String> |
listIndexSnapshots()
Lists absolute paths to currently available index snapshots.
|
String |
performIndexSnapshotBackupAndCleanup()
Creates a snapshot of jira index.
|
String |
performIndexSnapshotBackupAndCleanup(int backupCount)
Creates a snapshot of jira index.
|
public BackgroundIndexSnapshotOperator(FileStores fileStores, IndexUtils indexUtils)
public String performIndexSnapshotBackupAndCleanup(int backupCount)
IndexSnapshotOperator
performIndexSnapshotBackupAndCleanup
in interface IndexSnapshotOperator
backupCount
- number of most recent snapshots to stay after a cleanuppublic String performIndexSnapshotBackupAndCleanup()
IndexSnapshotOperator
DefaultIndexSnapshotOperator.BACKUP_COUNT
of most recent snapshots is persisted.performIndexSnapshotBackupAndCleanup
in interface IndexSnapshotOperator
public List<String> listIndexSnapshots()
IndexSnapshotOperator
listIndexSnapshots
in interface IndexSnapshotOperator
Copyright © 2002-2022 Atlassian. All Rights Reserved.