Interface FailoverStrategy

All Known Implementing Classes:
RestartAllFailoverStrategy, RestartPipelinedRegionFailoverStrategy

public interface FailoverStrategy
New interface for failover strategies.
  • Method Details

    • getTasksNeedingRestart

      Set<ExecutionVertexID> getTasksNeedingRestart(ExecutionVertexID executionVertexId, Throwable cause)
      Returns a set of IDs corresponding to the set of vertices that should be restarted.
      Parameters:
      executionVertexId - ID of the failed task
      cause - cause of the failure
      Returns:
      set of IDs of vertices to restart