org.apache.tez.dag.history
Interface HistoryEvent

All Known Implementing Classes:
AMLaunchedEvent, AMStartedEvent, ContainerLaunchedEvent, DAGCommitStartedEvent, DAGFinishedEvent, DAGInitializedEvent, DAGStartedEvent, DAGSubmittedEvent, TaskAttemptFinishedEvent, TaskAttemptStartedEvent, TaskFinishedEvent, TaskStartedEvent, VertexCommitStartedEvent, VertexDataMovementEventsGeneratedEvent, VertexFinishedEvent, VertexGroupCommitFinishedEvent, VertexGroupCommitStartedEvent, VertexInitializedEvent, VertexParallelismUpdatedEvent, VertexStartedEvent

public interface HistoryEvent


Method Summary
 org.codehaus.jettison.json.JSONObject convertToATSJSON()
           
 void fromProtoStream(InputStream inputStream)
           
 HistoryEventType getEventType()
           
 boolean isHistoryEvent()
           
 boolean isRecoveryEvent()
           
 void toProtoStream(OutputStream outputStream)
           
 

Method Detail

getEventType

HistoryEventType getEventType()

convertToATSJSON

org.codehaus.jettison.json.JSONObject convertToATSJSON()
                                                       throws org.codehaus.jettison.json.JSONException
Throws:
org.codehaus.jettison.json.JSONException

isRecoveryEvent

boolean isRecoveryEvent()

isHistoryEvent

boolean isHistoryEvent()

toProtoStream

void toProtoStream(OutputStream outputStream)
                   throws IOException
Throws:
IOException

fromProtoStream

void fromProtoStream(InputStream inputStream)
                     throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All rights reserved.