Interface RestoreTaskListener

  • All Known Implementing Classes:
    MultimasterReplication

    @PublicAPI(stability=VOLATILE,
               mayInstantiate=false,
               mayExtend=true,
               mayInvoke=false)
    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 Detail

      • processRestoreBegin

        void processRestoreBegin​(LocalBackend<?> backend)
        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

        void processRestoreEnd​(LocalBackend<?> backend)
        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.