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.
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
Modifier and TypeMethodDescriptionvoidhandleGlobalFailure(Throwable cause) Handles a global failure.
-
Method Details
-
handleGlobalFailure
Handles a global failure.- Parameters:
cause- A cause that describes the global failure.
-