Class ExecutionHistory
java.lang.Object
org.apache.flink.runtime.executiongraph.ExecutionHistory
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHistoricalExecution(int attemptNumber) booleanisValidAttemptNumber(int attemptNumber)
-
Constructor Details
-
ExecutionHistory
public ExecutionHistory(int sizeLimit)
-
-
Method Details
-
getHistoricalExecution
-
getHistoricalExecutions
-
isValidAttemptNumber
public boolean isValidAttemptNumber(int attemptNumber)
-