Package com.arjuna.ats.arjuna.recovery
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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanisPeriodicWorkSuccessful()Report whether or not the last recovery pass was successful.-
Methods inherited from interface com.arjuna.ats.arjuna.recovery.RecoveryModule
periodicWorkFirstPass, periodicWorkSecondPass
-
-
-
-
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.
-
-