Class ExecutionHistory

java.lang.Object
org.apache.flink.runtime.executiongraph.ExecutionHistory
All Implemented Interfaces:
Serializable

public class ExecutionHistory extends Object implements Serializable
This class hosts the historical executions of an ExecutionVertex in a LinkedHashMap with a size bound. When the map grows beyond the size bound, elements are dropped from the head of the map (FIFO order). Note that the historical executions does not include the current execution attempt.
See Also:
  • Constructor Details

    • ExecutionHistory

      public ExecutionHistory(int sizeLimit)
  • Method Details

    • getHistoricalExecution

      public Optional<ArchivedExecution> getHistoricalExecution(int attemptNumber)
    • getHistoricalExecutions

      public Collection<ArchivedExecution> getHistoricalExecutions()
    • isValidAttemptNumber

      public boolean isValidAttemptNumber(int attemptNumber)