public interface FailureResolver
| Modifier and Type | Method and Description |
|---|---|
<RECOVER_TYPE> |
handle(FailureReport<RECOVER_TYPE> report,
String reporterName)
Reports a failure to this resolver.
|
<RECOVER_TYPE> RECOVER_TYPE handle(FailureReport<RECOVER_TYPE> report, String reporterName)
report. If they are claade, this method will return the
value generated by the recover functions. If the report describes a
non-recoverable failure, this method will not return. This method might also not
return if the handler thinks it’s not appropriate to continue.RECOVER_TYPE - The recover value’s type.report - Information about the failure. Will never be null.reporterName - The name of the instance reporting the failure. Will never be
nullreport.