Interface ExtendedRecoveryModule

  • All Superinterfaces:
    RecoveryModule

    public interface ExtendedRecoveryModule
    extends RecoveryModule
    An interface that adds extra behaviour to RecoveryModules. An extra behaviour should provide a default method to ensure binary compatibility with older code.
    • Method Detail

      • isPeriodicWorkSuccessful

        default boolean isPeriodicWorkSuccessful()
        Report whether or not the last recovery pass was successful. A successful recovery pass means that no warnings or errors were logged. This means that any failure conditions are guaranteed to be obtainable by inspecting the logs.
        Returns:
        false if any RecoveryModule logged a warning or error on the previous recovery pass.