Interface FailoverStrategy
- All Known Implementing Classes:
RestartAllFailoverStrategy,RestartPipelinedRegionFailoverStrategy
public interface FailoverStrategy
New interface for failover strategies.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe factory to instantiateFailoverStrategy. -
Method Summary
Modifier and TypeMethodDescriptiongetTasksNeedingRestart(ExecutionVertexID executionVertexId, Throwable cause) Returns a set of IDs corresponding to the set of vertices that should be restarted.
-
Method Details
-
getTasksNeedingRestart
Returns a set of IDs corresponding to the set of vertices that should be restarted.- Parameters:
executionVertexId- ID of the failed taskcause- cause of the failure- Returns:
- set of IDs of vertices to restart
-