public final class ExecutionStateChangeEvent extends AbstractEvent implements ManagementEvent
| Constructor and Description |
|---|
ExecutionStateChangeEvent()
Constructs a new execution state change event object.
|
ExecutionStateChangeEvent(long timestamp,
JobVertexID vertexId,
int subtask,
ExecutionAttemptID executionAttemptId,
ExecutionState newExecutionState)
Constructs a new vertex event object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ExecutionAttemptID |
getExecutionAttemptID()
Returns the ID of the vertex this event refers to.
|
ExecutionState |
getNewExecutionState()
Returns the new execution state of the vertex this event refers to.
|
int |
getSubtaskIndex() |
JobVertexID |
getVertexId() |
int |
hashCode() |
void |
read(DataInputView in) |
String |
toString() |
void |
write(DataOutputView out) |
getSequenceNumber, getTimestamp, getTimestampString, timestampToStringpublic ExecutionStateChangeEvent(long timestamp,
JobVertexID vertexId,
int subtask,
ExecutionAttemptID executionAttemptId,
ExecutionState newExecutionState)
timestamp - the timestamp of the eventexecutionAttemptId - identifies the vertex this event refers tonewExecutionState - the new execution state of the vertex this event refers topublic ExecutionStateChangeEvent()
public JobVertexID getVertexId()
public int getSubtaskIndex()
public ExecutionAttemptID getExecutionAttemptID()
public ExecutionState getNewExecutionState()
public void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class AbstractEventIOExceptionpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class AbstractEventIOExceptionpublic boolean equals(Object obj)
equals in class AbstractEventpublic int hashCode()
hashCode in class AbstractEventpublic String toString()
toString in class AbstractEventCopyright © 2015 The Apache Software Foundation. All rights reserved.