class ConfigDataBackup.Callback extends java.lang.Object implements BackupProgressCallback
Modifier and Type | Field and Description |
---|---|
private long |
_currentChunks |
private long |
_currentChunksPainted |
private long |
_currentFile |
private boolean |
_init |
private static int |
PROGRESS_BAR_LENGTH |
Constructor and Description |
---|
Callback() |
Modifier and Type | Method and Description |
---|---|
void |
backupFinished(long completed,
long failed,
long total)
Wird aufgerufen, nachdem der Backup-Vorgang beendet wurde.
|
void |
backupProgress(long completed,
long failed,
long total,
double fileProgress,
double overallProgress)
Wird aufgerufen, um über den aktuellen Fortschritt des Backup-Vorgangs zu informieren.
|
void |
backupStarted(java.lang.String path)
Wird aufgerufen, nachdem der Backup-Vorgang gestartet wurde.
|
private boolean _init
private long _currentFile
private long _currentChunks
private long _currentChunksPainted
private static final int PROGRESS_BAR_LENGTH
public void backupStarted(java.lang.String path)
de.bsvrz.dav.daf.main.config.BackupProgressCallback
backupStarted
in interface BackupProgressCallback
path
- Absolutes Zielverzeichnis innerhalb der Konfiguration, in der die Sicherung angelegt wird. Das Verzeichnis befindet sich auf dem System,
auf dem die Konfiguration läuft.public void backupProgress(long completed, long failed, long total, double fileProgress, double overallProgress)
de.bsvrz.dav.daf.main.config.BackupProgressCallback
backupProgress
in interface BackupProgressCallback
completed
- Anzahl der gesicherten Dateienfailed
- Anzahl der nicht erfolgreich gesicherten Dateientotal
- Anzahl der zu sichernden DateienfileProgress
- Fortschritt der aktuellen Datei (0.0-1.0)overallProgress
- Fortschritt insgesamt (0.0-1.0)public void backupFinished(long completed, long failed, long total)
de.bsvrz.dav.daf.main.config.BackupProgressCallback
backupFinished
in interface BackupProgressCallback
completed
- Anzahl der gesicherten Dateienfailed
- Anzahl der nicht erfolgreich gesicherten Dateientotal
- Anzahl der zu sichernden Dateien