org.apache.hadoop.yarn.server.nodemanager.api.protocolrecords.impl.pb
Class LocalizerHeartbeatResponsePBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto>
      extended by 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


Constructor Summary
LocalizerHeartbeatResponsePBImpl()
           
LocalizerHeartbeatResponsePBImpl(YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto proto)
           
 
Method Summary
 void addAllResources(List<org.apache.hadoop.yarn.api.records.LocalResource> resources)
           
 void addResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
           
 void clearResources()
           
 List<org.apache.hadoop.yarn.api.records.LocalResource> getAllResources()
           
 LocalizerAction getLocalizerAction()
           
 org.apache.hadoop.yarn.api.records.LocalResource getLocalResource(int i)
           
 YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto getProto()
           
 void removeResource(int index)
           
 void setLocalizerAction(LocalizerAction action)
           
 
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

LocalizerHeartbeatResponsePBImpl

public LocalizerHeartbeatResponsePBImpl()

LocalizerHeartbeatResponsePBImpl

public LocalizerHeartbeatResponsePBImpl(YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto proto)
Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.