| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
VertexEvent.getCurrentExecutionState()
Returns the current execution state of the subtask this event
belongs to.
|
ExecutionState |
ExecutionStateChangeEvent.getNewExecutionState()
Returns the new execution state of the vertex this event refers to.
|
| Constructor and Description |
|---|
ExecutionStateChangeEvent(long timestamp,
ManagementVertexID managementVertexID,
ExecutionState newExecutionState)
Constructs a new vertex event object.
|
VertexEvent(long timestamp,
JobVertexID jobVertexID,
String jobVertexName,
int totalNumberOfSubtasks,
int indexOfSubtask,
ExecutionState currentExecutionState,
String description)
Constructs a new vertex event object.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionState |
ExecutionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionState[] |
ExecutionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExecutionStateTransition.checkTransition(boolean jobManager,
String taskName,
ExecutionState oldState,
ExecutionState newState)
Checks the transition of the execution state and outputs an error in case of an unexpected state transition.
|
void |
ExecutionObserver.executionStateChanged(ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
void |
ExecutionListener.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
ExecutionVertex.getExecutionState()
Returns this execution vertex's current execution status.
|
ExecutionState |
ExecutionVertex.updateExecutionState(ExecutionState newExecutionState)
Updates the vertex's current execution state.
|
ExecutionState |
ExecutionVertex.updateExecutionState(ExecutionState newExecutionState,
String optionalMessage)
Updates the vertex's current execution state.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExecutionVertex.compareAndUpdateExecutionState(ExecutionState expected,
ExecutionState update) |
void |
ExecutionGraph.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
ExecutionState |
ExecutionVertex.updateExecutionState(ExecutionState newExecutionState)
Updates the vertex's current execution state.
|
void |
ExecutionPipeline.updateExecutionState(ExecutionState executionState)
Updates the execution state for all vertices included in this pipeline.
|
ExecutionState |
ExecutionVertex.updateExecutionState(ExecutionState newExecutionState,
String optionalMessage)
Updates the vertex's current execution state.
|
void |
ExecutionVertex.updateExecutionStateAsynchronously(ExecutionState newExecutionState)
Updates the vertex's current execution state through the job's executor service.
|
void |
ExecutionVertex.updateExecutionStateAsynchronously(ExecutionState newExecutionState,
String optionalMessage)
Updates the vertex's current execution state through the job's executor service.
|
| Modifier and Type | Method and Description |
|---|---|
long |
MemoryArchivist.getVertexTime(JobID jobID,
ManagementVertexID jobVertexID,
ExecutionState executionState) |
long |
ArchiveListener.getVertexTime(JobID jobID,
ManagementVertexID jobVertexID,
ExecutionState executionState)
returns the time, when the status of the given vertex changed to executionState
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultExecutionListener.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
ManagementVertex.getExecutionState()
Returns the current execution state of this management vertex.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ManagementVertex.setExecutionState(ExecutionState executionState)
Sets the current execution state of this management vertex.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentListenerImpl.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
TaskExecutionState.getExecutionState()
Returns the new execution state of the task.
|
ExecutionState |
Task.getExecutionState()
Returns the current execution state of the task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Task.executionStateChanged(ExecutionState newExecutionState,
String optionalMessage) |
void |
TaskManager.executionStateChanged(JobID jobID,
ExecutionVertexID id,
ExecutionState newExecutionState,
String optionalDescription) |
| Constructor and Description |
|---|
TaskExecutionState(JobID jobID,
ExecutionVertexID id,
ExecutionState executionState,
String description)
Creates a new task execution state.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.