Class 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:
    Serialized Form
    • Constructor Detail

      • ExecutionHistory

        public ExecutionHistory​(int sizeLimit)
    • Method Detail

      • isValidAttemptNumber

        public boolean isValidAttemptNumber​(int attemptNumber)