public class SnapshotDeletionPolicyContributionStrategy extends Object implements IndexBackupContributionStrategy
Index.Manager
by creating IndexFileDeleter.CommitPoint
and releasing them after the files are processed by the archiving process.
Expects all Index.Managers
contain Writers that are configured to use
SnapshotDeletionPolicySnapshotDeletionPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
SnapshotDeletionPolicyContributionStrategy.CommitOperationsFactory |
NO_OP_BACKUP_STRATEGY| Constructor and Description |
|---|
SnapshotDeletionPolicyContributionStrategy(IndexPathManager indexPathManager,
SnapshotDeletionPolicyContributionStrategy.CommitOperationsFactory operationsFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBackup(BackupBuilder backupBuilder,
Collection<IndexPerformAndSubpath> indexes)
Creates
IndexFileDeleter.CommitPoint for all the given indexes
before passing files from each commit point to backupBuilder. |
public SnapshotDeletionPolicyContributionStrategy(IndexPathManager indexPathManager, SnapshotDeletionPolicyContributionStrategy.CommitOperationsFactory operationsFactory)
public void addToBackup(BackupBuilder backupBuilder, Collection<IndexPerformAndSubpath> indexes)
IndexFileDeleter.CommitPoint for all the given indexes
before passing files from each commit point to backupBuilder. Releases all the acquired
IndexFileDeleter.CommitPoints before exitaddToBackup in interface IndexBackupContributionStrategyCopyright © 2002-2022 Atlassian. All Rights Reserved.