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

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

public class LocalResourceStatusPBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalResourceStatusProto>
implements LocalResourceStatus


Constructor Summary
LocalResourceStatusPBImpl()
           
LocalResourceStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto)
           
 
Method Summary
 org.apache.hadoop.yarn.exceptions.YarnRemoteException getException()
           
 org.apache.hadoop.yarn.api.records.URL getLocalPath()
           
 long getLocalSize()
           
 YarnServerNodemanagerServiceProtos.LocalResourceStatusProto getProto()
           
 org.apache.hadoop.yarn.api.records.LocalResource getResource()
           
 ResourceStatusType getStatus()
           
 void setException(org.apache.hadoop.yarn.exceptions.YarnRemoteException exception)
           
 void setLocalPath(org.apache.hadoop.yarn.api.records.URL localPath)
           
 void setLocalSize(long size)
           
 void setResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
           
 void setStatus(ResourceStatusType 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

LocalResourceStatusPBImpl

public LocalResourceStatusPBImpl()

LocalResourceStatusPBImpl

public LocalResourceStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto)
Method Detail

getProto

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

getResource

public org.apache.hadoop.yarn.api.records.LocalResource getResource()
Specified by:
getResource in interface LocalResourceStatus

getStatus

public ResourceStatusType getStatus()
Specified by:
getStatus in interface LocalResourceStatus

getLocalPath

public org.apache.hadoop.yarn.api.records.URL getLocalPath()
Specified by:
getLocalPath in interface LocalResourceStatus

getLocalSize

public long getLocalSize()
Specified by:
getLocalSize in interface LocalResourceStatus

getException

public org.apache.hadoop.yarn.exceptions.YarnRemoteException getException()
Specified by:
getException in interface LocalResourceStatus

setResource

public void setResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
Specified by:
setResource in interface LocalResourceStatus

setStatus

public void setStatus(ResourceStatusType status)
Specified by:
setStatus in interface LocalResourceStatus

setLocalPath

public void setLocalPath(org.apache.hadoop.yarn.api.records.URL localPath)
Specified by:
setLocalPath in interface LocalResourceStatus

setLocalSize

public void setLocalSize(long size)
Specified by:
setLocalSize in interface LocalResourceStatus

setException

public void setException(org.apache.hadoop.yarn.exceptions.YarnRemoteException exception)
Specified by:
setException in interface LocalResourceStatus


Copyright © 2013 Apache Software Foundation. All Rights Reserved.