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.| 构造器和说明 |
|---|
ExecutionHistory(int sizeLimit) |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.