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,
List<org.apache.tez.runtime.api.impl.TezEvent> initGeneratedEvents,
ServicePluginInfo servicePluginInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexInitializedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream 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() |
List<org.apache.tez.runtime.api.impl.TezEvent> |
getInitGeneratedEvents() |
long |
getInitRequestedTime() |
int |
getNumTasks() |
String |
getProcessorName() |
ServicePluginInfo |
getServicePluginInfo() |
org.apache.tez.dag.records.TezVertexID |
getVertexID() |
String |
getVertexName() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexInitializedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream 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,
List<org.apache.tez.runtime.api.impl.TezEvent> initGeneratedEvents,
ServicePluginInfo servicePluginInfo)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexInitializedProto toProto() throws IOException
IOExceptionpublic void fromProto(RecoveryProtos.VertexInitializedProto proto) throws IOException
IOExceptionpublic void toProtoStream(com.google.protobuf.CodedOutputStream outputStream)
throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(com.google.protobuf.CodedInputStream 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()
public List<org.apache.tez.runtime.api.impl.TezEvent> getInitGeneratedEvents()
public ServicePluginInfo getServicePluginInfo()
Copyright © 2020 Apache Software Foundation. All rights reserved.