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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerStatusProto>
      extended by org.apache.hadoop.yarn.server.nodemanager.api.protocolrecords.impl.pb.LocalizerStatusPBImpl
All Implemented Interfaces:
LocalizerStatus

public class LocalizerStatusPBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerStatusProto>
implements LocalizerStatus


Constructor Summary
LocalizerStatusPBImpl()
           
LocalizerStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalizerStatusProto proto)
           
 
Method Summary
 void addAllResources(List<LocalResourceStatus> resources)
           
 void addResourceStatus(LocalResourceStatus resource)
           
 void clearResources()
           
 String getLocalizerId()
           
 YarnServerNodemanagerServiceProtos.LocalizerStatusProto getProto()
           
 List<LocalResourceStatus> getResources()
           
 LocalResourceStatus getResourceStatus(int index)
           
 void removeResource(int index)
           
 void setLocalizerId(String localizerId)
           
 
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

LocalizerStatusPBImpl

public LocalizerStatusPBImpl()

LocalizerStatusPBImpl

public LocalizerStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalizerStatusProto proto)
Method Detail

getProto

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

getLocalizerId

public String getLocalizerId()
Specified by:
getLocalizerId in interface LocalizerStatus

getResources

public List<LocalResourceStatus> getResources()
Specified by:
getResources in interface LocalizerStatus

setLocalizerId

public void setLocalizerId(String localizerId)
Specified by:
setLocalizerId in interface LocalizerStatus

addAllResources

public void addAllResources(List<LocalResourceStatus> resources)
Specified by:
addAllResources in interface LocalizerStatus

getResourceStatus

public LocalResourceStatus getResourceStatus(int index)
Specified by:
getResourceStatus in interface LocalizerStatus

addResourceStatus

public void addResourceStatus(LocalResourceStatus resource)
Specified by:
addResourceStatus in interface LocalizerStatus

removeResource

public void removeResource(int index)
Specified by:
removeResource in interface LocalizerStatus

clearResources

public void clearResources()
Specified by:
clearResources in interface LocalizerStatus


Copyright © 2012 Apache Software Foundation. All Rights Reserved.