public final class ExecutionStateChangeEvent extends AbstractEvent implements ManagementEvent
ExecutionStateChangeEvent can be used to notify other objects about an execution state change of a vertex.| Constructor and Description |
|---|
ExecutionStateChangeEvent()
Constructs a new execution state change event object.
|
ExecutionStateChangeEvent(long timestamp,
ManagementVertexID managementVertexID,
ExecutionState newExecutionState)
Constructs a new vertex event object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ExecutionState |
getNewExecutionState()
Returns the new execution state of the vertex this event refers to.
|
ManagementVertexID |
getVertexID()
Returns the ID of the vertex this event refers to.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getSequenceNumber, getTimestamp, timestampToStringpublic ExecutionStateChangeEvent(long timestamp,
ManagementVertexID managementVertexID,
ExecutionState newExecutionState)
timestamp - the timestamp of the eventmanagementVertexID - identifies the vertex this event refers tonewExecutionState - the new execution state of the vertex this event refers topublic ExecutionStateChangeEvent()
public ManagementVertexID getVertexID()
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 AbstractEventCopyright © 2014 The Apache Software Foundation. All rights reserved.