public class ExecutionHistory extends Object implements Serializable
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.Constructor and Description |
---|
ExecutionHistory(int sizeLimit) |
Modifier and Type | Method and Description |
---|---|
Optional<ArchivedExecution> |
getHistoricalExecution(int attemptNumber) |
Collection<ArchivedExecution> |
getHistoricalExecutions() |
boolean |
isValidAttemptNumber(int attemptNumber) |
public Optional<ArchivedExecution> getHistoricalExecution(int attemptNumber)
public Collection<ArchivedExecution> getHistoricalExecutions()
public boolean isValidAttemptNumber(int attemptNumber)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.