org.apache.hadoop.yarn.server.nodemanager.api.protocolrecords.impl.pb
Class LocalResourceStatusPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalResourceStatusProto>
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
| Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
LocalResourceStatusPBImpl
public LocalResourceStatusPBImpl()
LocalResourceStatusPBImpl
public LocalResourceStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto)
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 © 2012 Apache Software Foundation. All Rights Reserved.