public interface LabeledGlobalFailureHandler
FailureEnricher. 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.| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleGlobalFailure(Throwable cause,
CompletableFuture<Map<String,String>> failureLabels)
An adapted version of
GlobalFailureHandler that handles and associates global
failures with enricher labels. |
void handleGlobalFailure(Throwable cause, CompletableFuture<Map<String,String>> failureLabels)
GlobalFailureHandler that handles and associates global
failures with enricher labels.cause - A cause that describes the global failure.failureLabels - Labels providing an additional context about the failure.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.