public class TaskAttemptCompletionEventPBImpl extends ProtoBase<MRProtos.TaskAttemptCompletionEventProto> implements TaskAttemptCompletionEvent
Constructor and Description |
---|
TaskAttemptCompletionEventPBImpl() |
TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto) |
Modifier and Type | Method and Description |
---|---|
TaskAttemptId |
getAttemptId() |
int |
getAttemptRunTime() |
int |
getEventId() |
String |
getMapOutputServerAddress() |
MRProtos.TaskAttemptCompletionEventProto |
getProto() |
TaskAttemptCompletionEventStatus |
getStatus() |
void |
setAttemptId(TaskAttemptId attemptId) |
void |
setAttemptRunTime(int attemptRunTime) |
void |
setEventId(int eventId) |
void |
setMapOutputServerAddress(String mapOutputServerAddress) |
void |
setStatus(TaskAttemptCompletionEventStatus status) |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
public TaskAttemptCompletionEventPBImpl()
public TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto)
public MRProtos.TaskAttemptCompletionEventProto getProto()
getProto
in class ProtoBase<MRProtos.TaskAttemptCompletionEventProto>
public TaskAttemptId getAttemptId()
getAttemptId
in interface TaskAttemptCompletionEvent
public void setAttemptId(TaskAttemptId attemptId)
setAttemptId
in interface TaskAttemptCompletionEvent
public TaskAttemptCompletionEventStatus getStatus()
getStatus
in interface TaskAttemptCompletionEvent
public void setStatus(TaskAttemptCompletionEventStatus status)
setStatus
in interface TaskAttemptCompletionEvent
public String getMapOutputServerAddress()
getMapOutputServerAddress
in interface TaskAttemptCompletionEvent
public void setMapOutputServerAddress(String mapOutputServerAddress)
setMapOutputServerAddress
in interface TaskAttemptCompletionEvent
public int getAttemptRunTime()
getAttemptRunTime
in interface TaskAttemptCompletionEvent
public void setAttemptRunTime(int attemptRunTime)
setAttemptRunTime
in interface TaskAttemptCompletionEvent
public int getEventId()
getEventId
in interface TaskAttemptCompletionEvent
public void setEventId(int eventId)
setEventId
in interface TaskAttemptCompletionEvent
Copyright © 2013 Apache Software Foundation. All rights reserved.