Interface LabeledGlobalFailureHandler
-
- All Known Implementing Classes:
CreatingExecutionGraph
public interface LabeledGlobalFailureHandler
An 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 void
handleGlobalFailure(Throwable cause, CompletableFuture<Map<String,String>> failureLabels)
An adapted version ofGlobalFailureHandler
that handles and associates global failures with enricher labels.
-
-
-
Method Detail
-
handleGlobalFailure
void handleGlobalFailure(Throwable cause, CompletableFuture<Map<String,String>> failureLabels)
An adapted version ofGlobalFailureHandler
that 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.
-
-