public class VertexParallelismUpdatedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
VertexParallelismUpdatedEvent() |
VertexParallelismUpdatedEvent(org.apache.tez.dag.records.TezVertexID vertexID,
int numTasks,
org.apache.tez.dag.api.VertexLocationHint vertexLocationHint,
Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> sourceEdgeManagers,
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdates) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexParallelismUpdatedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
HistoryEventType |
getEventType() |
int |
getNumTasks() |
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> |
getRootInputSpecUpdates() |
Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> |
getSourceEdgeManagers() |
org.apache.tez.dag.records.TezVertexID |
getVertexID() |
org.apache.tez.dag.api.VertexLocationHint |
getVertexLocationHint() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexParallelismUpdatedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public VertexParallelismUpdatedEvent()
public VertexParallelismUpdatedEvent(org.apache.tez.dag.records.TezVertexID vertexID,
int numTasks,
org.apache.tez.dag.api.VertexLocationHint vertexLocationHint,
Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> sourceEdgeManagers,
Map<String,org.apache.tez.runtime.api.InputSpecUpdate> rootInputSpecUpdates)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexParallelismUpdatedProto toProto()
public void fromProto(RecoveryProtos.VertexParallelismUpdatedProto 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 int getNumTasks()
public org.apache.tez.dag.api.VertexLocationHint getVertexLocationHint()
public Map<String,org.apache.tez.dag.api.EdgeManagerPluginDescriptor> getSourceEdgeManagers()
Copyright © 2014 Apache Software Foundation. All rights reserved.