Package com.arjuna.ats.arjuna.recovery
Interface ExtendedRecoveryModule
- All Superinterfaces:
RecoveryModule
- All Known Implementing Classes:
XARecoveryModule
,XARecoveryModule
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
Modifier and TypeMethodDescriptiondefault boolean
Report whether or not the last recovery pass was successful.Methods inherited from interface com.arjuna.ats.arjuna.recovery.RecoveryModule
periodicWorkFirstPass, periodicWorkSecondPass
-
Method Details
-
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.
-