public class LocalResourceStatusPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto> implements LocalResourceStatus
| Constructor and Description | 
|---|
| LocalResourceStatusPBImpl() | 
| LocalResourceStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.records.SerializedException | getException() | 
| org.apache.hadoop.yarn.api.records.URL | getLocalPath() | 
| long | getLocalSize() | 
| org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto | getProto() | 
| org.apache.hadoop.yarn.api.records.LocalResource | getResource() | 
| ResourceStatusType | getStatus() | 
| void | setException(org.apache.hadoop.yarn.api.records.SerializedException 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) | 
public LocalResourceStatusPBImpl()
public LocalResourceStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto)
public org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalResourceStatusProto>public org.apache.hadoop.yarn.api.records.LocalResource getResource()
getResource in interface LocalResourceStatuspublic ResourceStatusType getStatus()
getStatus in interface LocalResourceStatuspublic org.apache.hadoop.yarn.api.records.URL getLocalPath()
getLocalPath in interface LocalResourceStatuspublic long getLocalSize()
getLocalSize in interface LocalResourceStatuspublic org.apache.hadoop.yarn.api.records.SerializedException getException()
getException in interface LocalResourceStatuspublic void setResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
setResource in interface LocalResourceStatuspublic void setStatus(ResourceStatusType status)
setStatus in interface LocalResourceStatuspublic void setLocalPath(org.apache.hadoop.yarn.api.records.URL localPath)
setLocalPath in interface LocalResourceStatuspublic void setLocalSize(long size)
setLocalSize in interface LocalResourceStatuspublic void setException(org.apache.hadoop.yarn.api.records.SerializedException exception)
setException in interface LocalResourceStatusCopyright © 2008–2023 Apache Software Foundation. All rights reserved.