Class BackupManager.BackupFilter

  • Enclosing class:
    BackupManager

    public static final class BackupManager.BackupFilter
    extends Object
    Filter a collection of backendIds, backendNames and serverIds.
    • Field Detail

      • ALL_BACKUPS

        public static final BackupManager.BackupFilter ALL_BACKUPS
        All the backups will be returned. No filtering will be performed. This will be slow with cloud storage.
    • Constructor Detail

      • BackupFilter

        public BackupFilter​(Collection<BackupId> backupIds,
                            Collection<String> backendNames,
                            Collection<String> serverIds,
                            boolean keepOnlyLastBackupForEachBackend)
        Create a new filter.
        Parameters:
        backupIds - the BackupIds to include
        backendNames - the backend names to include
        serverIds - the server IDs to include
        keepOnlyLastBackupForEachBackend - whether to only keep the last backup for each backend