Class TaskExecutionStateTransition
- java.lang.Object
-
- org.apache.flink.runtime.executiongraph.TaskExecutionStateTransition
-
public class TaskExecutionStateTransition extends Object
WrapsTaskExecutionState
, along with actions to take if it is FAILED state.
-
-
Constructor Summary
Constructors Constructor Description TaskExecutionStateTransition(TaskExecutionState taskExecutionState)
TaskExecutionStateTransition(TaskExecutionState taskExecutionState, boolean cancelTask, boolean releasePartitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccumulatorSnapshot
getAccumulators()
boolean
getCancelTask()
Throwable
getError(ClassLoader userCodeClassloader)
ExecutionState
getExecutionState()
ExecutionAttemptID
getID()
IOMetrics
getIOMetrics()
boolean
getReleasePartitions()
-
-
-
Constructor Detail
-
TaskExecutionStateTransition
public TaskExecutionStateTransition(TaskExecutionState taskExecutionState)
-
TaskExecutionStateTransition
public TaskExecutionStateTransition(TaskExecutionState taskExecutionState, boolean cancelTask, boolean releasePartitions)
-
-
Method Detail
-
getError
public Throwable getError(ClassLoader userCodeClassloader)
-
getID
public ExecutionAttemptID getID()
-
getExecutionState
public ExecutionState getExecutionState()
-
getAccumulators
public AccumulatorSnapshot getAccumulators()
-
getIOMetrics
public IOMetrics getIOMetrics()
-
getCancelTask
public boolean getCancelTask()
-
getReleasePartitions
public boolean getReleasePartitions()
-
-