public class TaskAttemptCompletionEventPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.TaskAttemptCompletionEventProto> implements TaskAttemptCompletionEvent
| Constructor and Description |
|---|
TaskAttemptCompletionEventPBImpl() |
TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto) |
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
convertGeneralFromProtoFormat(com.google.protobuf.ByteString byteString) |
static com.google.protobuf.ByteString |
convertGeneralToProtoFormat(ByteBuffer byteBuffer) |
TaskAttemptId |
getAttemptId() |
int |
getAttemptRunTime() |
int |
getEventId() |
String |
getMapOutputServerAddress() |
MRProtos.TaskAttemptCompletionEventProto |
getProto() |
Map<String,ByteBuffer> |
getServicesMetaData() |
TaskAttemptCompletionEventStatus |
getStatus() |
void |
setAttemptId(TaskAttemptId attemptId) |
void |
setAttemptRunTime(int attemptRunTime) |
void |
setEventId(int eventId) |
void |
setMapOutputServerAddress(String mapOutputServerAddress) |
void |
setServicesMetaData(Map<String,ByteBuffer> meta) |
void |
setStatus(TaskAttemptCompletionEventStatus status) |
public TaskAttemptCompletionEventPBImpl()
public TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto)
public MRProtos.TaskAttemptCompletionEventProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.TaskAttemptCompletionEventProto>public TaskAttemptId getAttemptId()
getAttemptId in interface TaskAttemptCompletionEventpublic void setAttemptId(TaskAttemptId attemptId)
setAttemptId in interface TaskAttemptCompletionEventpublic TaskAttemptCompletionEventStatus getStatus()
getStatus in interface TaskAttemptCompletionEventpublic void setStatus(TaskAttemptCompletionEventStatus status)
setStatus in interface TaskAttemptCompletionEventpublic String getMapOutputServerAddress()
getMapOutputServerAddress in interface TaskAttemptCompletionEventpublic void setMapOutputServerAddress(String mapOutputServerAddress)
setMapOutputServerAddress in interface TaskAttemptCompletionEventpublic int getAttemptRunTime()
getAttemptRunTime in interface TaskAttemptCompletionEventpublic void setAttemptRunTime(int attemptRunTime)
setAttemptRunTime in interface TaskAttemptCompletionEventpublic int getEventId()
getEventId in interface TaskAttemptCompletionEventpublic void setEventId(int eventId)
setEventId in interface TaskAttemptCompletionEventpublic static ByteBuffer convertGeneralFromProtoFormat(com.google.protobuf.ByteString byteString)
public static com.google.protobuf.ByteString convertGeneralToProtoFormat(ByteBuffer byteBuffer)
public Map<String,ByteBuffer> getServicesMetaData()
getServicesMetaData in interface TaskAttemptCompletionEventpublic void setServicesMetaData(Map<String,ByteBuffer> meta)
setServicesMetaData in interface TaskAttemptCompletionEventCopyright © 2016 Apache Software Foundation. All Rights Reserved.