Package org.opends.server.api
Interface BackupTaskListener
- All Known Implementing Classes:
MultimasterReplication
public interface BackupTaskListener
This interface defines a set of methods that may be used to notify various Directory Server components whenever a
backend backup task is about to begin or has just completed. Note that these methods will only be invoked for the
backup task and not for offline backup processing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessBackupBegin(LocalBackend<?> backend) Performs any processing that might be necessary just before the server begins processing on a backup task.voidprocessBackupEnd(LocalBackend<?> backend) Performs any processing that might be necessary after the server has completed processing on a backup task.
-
Method Details
-
processBackupBegin
Performs any processing that might be necessary just before the server begins processing on a backup task. This may include flushing any outstanding writes to disk so they are included in the backup and/or pausing interaction with the provided backend while the backup is in progress.- Parameters:
backend- The backend to be archived.
-
processBackupEnd
Performs any processing that might be necessary after the server has completed processing on a backup task. Note that this will always be called when backup processing completes, regardless of whether it was successful.- Parameters:
backend- The backend that was archived.
-