org.apache.tez.dag.history.events
Class VertexInitializedEvent

java.lang.Object
  extended by org.apache.tez.dag.history.events.VertexInitializedEvent
All Implemented Interfaces:
HistoryEvent

public class VertexInitializedEvent
extends Object
implements HistoryEvent


Constructor Summary
VertexInitializedEvent()
           
VertexInitializedEvent(org.apache.tez.dag.records.TezVertexID vertexId, String vertexName, long initRequestedTime, long initedTime, int numTasks, String processorName, Map<String,RootInputLeafOutputDescriptor<org.apache.tez.dag.api.InputDescriptor>> additionalInputs)
           
 
Method Summary
 org.codehaus.jettison.json.JSONObject convertToATSJSON()
           
 void fromProto(RecoveryProtos.VertexInitializedProto proto)
           
 void fromProtoStream(InputStream inputStream)
           
 Map<String,RootInputLeafOutputDescriptor<org.apache.tez.dag.api.InputDescriptor>> getAdditionalInputs()
           
 HistoryEventType getEventType()
           
 long getInitedTime()
           
 long getInitRequestedTime()
           
 int getNumTasks()
           
 String getProcessorName()
           
 org.apache.tez.dag.records.TezVertexID getVertexID()
           
 boolean isHistoryEvent()
           
 boolean isRecoveryEvent()
           
 RecoveryProtos.VertexInitializedProto toProto()
           
 void toProtoStream(OutputStream outputStream)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VertexInitializedEvent

public VertexInitializedEvent()

VertexInitializedEvent

public VertexInitializedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
                              String vertexName,
                              long initRequestedTime,
                              long initedTime,
                              int numTasks,
                              String processorName,
                              Map<String,RootInputLeafOutputDescriptor<org.apache.tez.dag.api.InputDescriptor>> additionalInputs)
Method Detail

getEventType

public HistoryEventType getEventType()
Specified by:
getEventType in interface HistoryEvent

convertToATSJSON

public org.codehaus.jettison.json.JSONObject convertToATSJSON()
                                                       throws org.codehaus.jettison.json.JSONException
Specified by:
convertToATSJSON in interface HistoryEvent
Throws:
org.codehaus.jettison.json.JSONException

isRecoveryEvent

public boolean isRecoveryEvent()
Specified by:
isRecoveryEvent in interface HistoryEvent

isHistoryEvent

public boolean isHistoryEvent()
Specified by:
isHistoryEvent in interface HistoryEvent

toProto

public RecoveryProtos.VertexInitializedProto toProto()

fromProto

public void fromProto(RecoveryProtos.VertexInitializedProto proto)

toProtoStream

public void toProtoStream(OutputStream outputStream)
                   throws IOException
Specified by:
toProtoStream in interface HistoryEvent
Throws:
IOException

fromProtoStream

public void fromProtoStream(InputStream inputStream)
                     throws IOException
Specified by:
fromProtoStream in interface HistoryEvent
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

getVertexID

public org.apache.tez.dag.records.TezVertexID getVertexID()

getInitRequestedTime

public long getInitRequestedTime()

getInitedTime

public long getInitedTime()

getNumTasks

public int getNumTasks()

getAdditionalInputs

public Map<String,RootInputLeafOutputDescriptor<org.apache.tez.dag.api.InputDescriptor>> getAdditionalInputs()

getProcessorName

public String getProcessorName()


Copyright © 2014 Apache Software Foundation. All rights reserved.