Interface LabeledGlobalFailureHandler
-
- All Known Implementing Classes:
CreatingExecutionGraph
public interface LabeledGlobalFailureHandlerAn interface for handling and associating global failures with labels fromFailureEnricher. In context of a scheduler we distinguish between local and global failures. Global failure is the one that happens in context of the scheduler (in the JobManager process) and local failure is one that is "local" to an executing task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleGlobalFailure(Throwable cause, CompletableFuture<Map<String,String>> failureLabels)An adapted version ofGlobalFailureHandlerthat handles and associates global failures with enricher labels.
-
-
-
Method Detail
-
handleGlobalFailure
void handleGlobalFailure(Throwable cause, CompletableFuture<Map<String,String>> failureLabels)
An adapted version ofGlobalFailureHandlerthat handles and associates global failures with enricher labels.- Parameters:
cause- A cause that describes the global failure.failureLabels- Labels providing an additional context about the failure.
-
-