org.apache.hadoop.yarn.server.nodemanager.api.protocolrecords.impl.pb
Class LocalizerHeartbeatResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto>
org.apache.hadoop.yarn.server.nodemanager.api.protocolrecords.impl.pb.LocalizerHeartbeatResponsePBImpl
- All Implemented Interfaces:
- LocalizerHeartbeatResponse
public class LocalizerHeartbeatResponsePBImpl
- extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto>
- implements LocalizerHeartbeatResponse
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
LocalizerHeartbeatResponsePBImpl
public LocalizerHeartbeatResponsePBImpl()
LocalizerHeartbeatResponsePBImpl
public LocalizerHeartbeatResponsePBImpl(YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto proto)
getProto
public YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto getProto()
- Specified by:
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto>
getLocalizerAction
public LocalizerAction getLocalizerAction()
- Specified by:
getLocalizerAction in interface LocalizerHeartbeatResponse
getAllResources
public List<org.apache.hadoop.yarn.api.records.LocalResource> getAllResources()
- Specified by:
getAllResources in interface LocalizerHeartbeatResponse
getLocalResource
public org.apache.hadoop.yarn.api.records.LocalResource getLocalResource(int i)
- Specified by:
getLocalResource in interface LocalizerHeartbeatResponse
setLocalizerAction
public void setLocalizerAction(LocalizerAction action)
- Specified by:
setLocalizerAction in interface LocalizerHeartbeatResponse
addAllResources
public void addAllResources(List<org.apache.hadoop.yarn.api.records.LocalResource> resources)
- Specified by:
addAllResources in interface LocalizerHeartbeatResponse
addResource
public void addResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
- Specified by:
addResource in interface LocalizerHeartbeatResponse
removeResource
public void removeResource(int index)
- Specified by:
removeResource in interface LocalizerHeartbeatResponse
clearResources
public void clearResources()
- Specified by:
clearResources in interface LocalizerHeartbeatResponse
Copyright © 2013 Apache Software Foundation. All Rights Reserved.