Package org.opends.server.api
Interface RestoreTaskListener
- All Known Implementing Classes:
MultimasterReplication
public interface RestoreTaskListener
This interface defines a set of methods that may be used to notify various Directory Server components whenever a
backend restore task is about to begin or has just completed. Note that these methods will only be invoked for the
restore task and not for offline restore processing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessRestoreBegin(LocalBackend<?> backend) Performs any processing that might be necessary just before the server begins processing on a restore task.voidprocessRestoreEnd(LocalBackend<?> backend) Performs any processing that might be necessary after the server has completed processing on a restore task.
-
Method Details
-
processRestoreBegin
Performs any processing that might be necessary just before the server begins processing on a restore task. This should include pausing interaction with the provided backend while the restore is in progress.- Parameters:
backend- The backend to be restored.
-
processRestoreEnd
Performs any processing that might be necessary after the server has completed processing on a restore task. Note that this will always be called when restore processing completes, regardless of whether it was successful.- Parameters:
backend- The backend that was restored.
-