public class TaskExecutionStateTransition extends Object
TaskExecutionState
, along with actions to take if it is FAILED state.Constructor and Description |
---|
TaskExecutionStateTransition(TaskExecutionState taskExecutionState) |
TaskExecutionStateTransition(TaskExecutionState taskExecutionState,
boolean cancelTask,
boolean releasePartitions) |
Modifier and Type | Method and Description |
---|---|
AccumulatorSnapshot |
getAccumulators() |
boolean |
getCancelTask() |
Throwable |
getError(ClassLoader userCodeClassloader) |
ExecutionState |
getExecutionState() |
ExecutionAttemptID |
getID() |
IOMetrics |
getIOMetrics() |
boolean |
getReleasePartitions() |
public TaskExecutionStateTransition(TaskExecutionState taskExecutionState)
public TaskExecutionStateTransition(TaskExecutionState taskExecutionState, boolean cancelTask, boolean releasePartitions)
public Throwable getError(ClassLoader userCodeClassloader)
public ExecutionAttemptID getID()
public ExecutionState getExecutionState()
public AccumulatorSnapshot getAccumulators()
public IOMetrics getIOMetrics()
public boolean getCancelTask()
public boolean getReleasePartitions()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.