public class VertexInitializedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
VertexInitializedEvent() |
VertexInitializedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
String vertexName,
long initRequestedTime,
long initedTime,
int numTasks,
String processorName,
Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> additionalInputs) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexInitializedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> |
getAdditionalInputs() |
HistoryEventType |
getEventType() |
long |
getInitedTime() |
long |
getInitRequestedTime() |
int |
getNumTasks() |
String |
getProcessorName() |
org.apache.tez.dag.records.TezVertexID |
getVertexID() |
String |
getVertexName() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexInitializedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public VertexInitializedEvent()
public VertexInitializedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
String vertexName,
long initRequestedTime,
long initedTime,
int numTasks,
String processorName,
Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> additionalInputs)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexInitializedProto toProto()
public void fromProto(RecoveryProtos.VertexInitializedProto proto)
public void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.tez.dag.records.TezVertexID getVertexID()
public long getInitRequestedTime()
public long getInitedTime()
public int getNumTasks()
public Map<String,org.apache.tez.dag.api.RootInputLeafOutput<org.apache.tez.dag.api.InputDescriptor,org.apache.tez.dag.api.InputInitializerDescriptor>> getAdditionalInputs()
public String getProcessorName()
public String getVertexName()
Copyright © 2014 Apache Software Foundation. All rights reserved.