Modifier and Type | Field and Description |
---|---|
static int |
SAVED_BACKUPS |
Constructor and Description |
---|
ChangedListBackupManager(ChangedList changedList,
File backupDir,
long backupFrequency,
List<File> contentDirs) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
endBackup() |
boolean |
hasBackups() |
long |
loadBackup()
Attempts to reload the changed list from a backup file.
|
void |
run()
Runs the backup manager.
|
protected void |
sleep(long backupFrequency) |
public static final int SAVED_BACKUPS
public ChangedListBackupManager(ChangedList changedList, File backupDir, long backupFrequency, List<File> contentDirs)
public long loadBackup()
public void run()
protected void sleep(long backupFrequency)
public void clear()
public void endBackup()
public boolean hasBackups()
Copyright © 2009–2016 DuraSpace. All rights reserved.