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 LocalResourceStatus
public ResourceStatusType getStatus()
getStatus
in interface LocalResourceStatus
public org.apache.hadoop.yarn.api.records.URL getLocalPath()
getLocalPath
in interface LocalResourceStatus
public long getLocalSize()
getLocalSize
in interface LocalResourceStatus
public org.apache.hadoop.yarn.api.records.SerializedException getException()
getException
in interface LocalResourceStatus
public void setResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
setResource
in interface LocalResourceStatus
public void setStatus(ResourceStatusType status)
setStatus
in interface LocalResourceStatus
public void setLocalPath(org.apache.hadoop.yarn.api.records.URL localPath)
setLocalPath
in interface LocalResourceStatus
public void setLocalSize(long size)
setLocalSize
in interface LocalResourceStatus
public void setException(org.apache.hadoop.yarn.api.records.SerializedException exception)
setException
in interface LocalResourceStatus
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.