Class GetTaskAttemptCompletionEventsResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto>
org.apache.hadoop.mapreduce.v2.api.protocolrecords.impl.pb.GetTaskAttemptCompletionEventsResponsePBImpl
- All Implemented Interfaces:
GetTaskAttemptCompletionEventsResponse
public class GetTaskAttemptCompletionEventsResponsePBImpl
extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto>
implements GetTaskAttemptCompletionEventsResponse
-
Constructor Summary
ConstructorsConstructorDescriptionGetTaskAttemptCompletionEventsResponsePBImpl(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllCompletionEvents(List<TaskAttemptCompletionEvent> completionEvents) voidaddCompletionEvent(TaskAttemptCompletionEvent completionEvents) voidgetCompletionEvent(int index) intorg.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProtogetProto()voidremoveCompletionEvent(int index) Methods inherited from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
-
Constructor Details
-
GetTaskAttemptCompletionEventsResponsePBImpl
public GetTaskAttemptCompletionEventsResponsePBImpl() -
GetTaskAttemptCompletionEventsResponsePBImpl
public GetTaskAttemptCompletionEventsResponsePBImpl(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto getProto()- Specified by:
getProtoin classorg.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto>
-
getCompletionEventList
- Specified by:
getCompletionEventListin interfaceGetTaskAttemptCompletionEventsResponse
-
getCompletionEvent
- Specified by:
getCompletionEventin interfaceGetTaskAttemptCompletionEventsResponse
-
getCompletionEventCount
public int getCompletionEventCount()- Specified by:
getCompletionEventCountin interfaceGetTaskAttemptCompletionEventsResponse
-
addAllCompletionEvents
- Specified by:
addAllCompletionEventsin interfaceGetTaskAttemptCompletionEventsResponse
-
addCompletionEvent
- Specified by:
addCompletionEventin interfaceGetTaskAttemptCompletionEventsResponse
-
removeCompletionEvent
public void removeCompletionEvent(int index) - Specified by:
removeCompletionEventin interfaceGetTaskAttemptCompletionEventsResponse
-
clearCompletionEvents
public void clearCompletionEvents()- Specified by:
clearCompletionEventsin interfaceGetTaskAttemptCompletionEventsResponse
-