Interface GlobalFailureHandler
-
- All Known Subinterfaces:
SchedulerNG
- All Known Implementing Classes:
AdaptiveBatchScheduler
,AdaptiveScheduler
,DefaultScheduler
,SchedulerBase
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface GlobalFailureHandler
An interface for handling global failures. 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)
Handles a global failure.
-
-
-
Method Detail
-
handleGlobalFailure
void handleGlobalFailure(Throwable cause)
Handles a global failure.- Parameters:
cause
- A cause that describes the global failure.
-
-