org.apache.hadoop.mapreduce.v2.api.records.impl.pb
Class TaskAttemptCompletionEventPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<MRProtos.TaskAttemptCompletionEventProto>
      extended by org.apache.hadoop.mapreduce.v2.api.records.impl.pb.TaskAttemptCompletionEventPBImpl
All Implemented Interfaces:
TaskAttemptCompletionEvent

public class TaskAttemptCompletionEventPBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<MRProtos.TaskAttemptCompletionEventProto>
implements TaskAttemptCompletionEvent


Constructor Summary
TaskAttemptCompletionEventPBImpl()
           
TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskAttemptCompletionEventPBImpl

public TaskAttemptCompletionEventPBImpl()

TaskAttemptCompletionEventPBImpl

public TaskAttemptCompletionEventPBImpl(MRProtos.TaskAttemptCompletionEventProto proto)
Method Detail

getProto

public MRProtos.TaskAttemptCompletionEventProto getProto()
Specified by:
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<MRProtos.TaskAttemptCompletionEventProto>

getAttemptId

public TaskAttemptId getAttemptId()
Specified by:
getAttemptId in interface TaskAttemptCompletionEvent

setAttemptId

public void setAttemptId(TaskAttemptId attemptId)
Specified by:
setAttemptId in interface TaskAttemptCompletionEvent

getStatus

public TaskAttemptCompletionEventStatus getStatus()
Specified by:
getStatus in interface TaskAttemptCompletionEvent

setStatus

public void setStatus(TaskAttemptCompletionEventStatus status)
Specified by:
setStatus in interface TaskAttemptCompletionEvent

getMapOutputServerAddress

public String getMapOutputServerAddress()
Specified by:
getMapOutputServerAddress in interface TaskAttemptCompletionEvent

setMapOutputServerAddress

public void setMapOutputServerAddress(String mapOutputServerAddress)
Specified by:
setMapOutputServerAddress in interface TaskAttemptCompletionEvent

getAttemptRunTime

public int getAttemptRunTime()
Specified by:
getAttemptRunTime in interface TaskAttemptCompletionEvent

setAttemptRunTime

public void setAttemptRunTime(int attemptRunTime)
Specified by:
setAttemptRunTime in interface TaskAttemptCompletionEvent

getEventId

public int getEventId()
Specified by:
getEventId in interface TaskAttemptCompletionEvent

setEventId

public void setEventId(int eventId)
Specified by:
setEventId in interface TaskAttemptCompletionEvent


Copyright © 2012 Apache Software Foundation. All Rights Reserved.