public class LocalResourceStatusPBImpl extends ProtoBase<YarnServerNodemanagerServiceProtos.LocalResourceStatusProto> implements LocalResourceStatus
| Constructor and Description |
|---|
LocalResourceStatusPBImpl() |
LocalResourceStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto) |
| Modifier and Type | Method and Description |
|---|---|
SerializedException |
getException() |
URL |
getLocalPath() |
long |
getLocalSize() |
YarnServerNodemanagerServiceProtos.LocalResourceStatusProto |
getProto() |
LocalResource |
getResource() |
ResourceStatusType |
getStatus() |
void |
setException(SerializedException exception) |
void |
setLocalPath(URL localPath) |
void |
setLocalSize(long size) |
void |
setResource(LocalResource resource) |
void |
setStatus(ResourceStatusType status) |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toStringpublic LocalResourceStatusPBImpl()
public LocalResourceStatusPBImpl(YarnServerNodemanagerServiceProtos.LocalResourceStatusProto proto)
public YarnServerNodemanagerServiceProtos.LocalResourceStatusProto getProto()
getProto in class ProtoBase<YarnServerNodemanagerServiceProtos.LocalResourceStatusProto>public LocalResource getResource()
getResource in interface LocalResourceStatuspublic ResourceStatusType getStatus()
getStatus in interface LocalResourceStatuspublic URL getLocalPath()
getLocalPath in interface LocalResourceStatuspublic long getLocalSize()
getLocalSize in interface LocalResourceStatuspublic SerializedException getException()
getException in interface LocalResourceStatuspublic void setResource(LocalResource resource)
setResource in interface LocalResourceStatuspublic void setStatus(ResourceStatusType status)
setStatus in interface LocalResourceStatuspublic void setLocalPath(URL localPath)
setLocalPath in interface LocalResourceStatuspublic void setLocalSize(long size)
setLocalSize in interface LocalResourceStatuspublic void setException(SerializedException exception)
setException in interface LocalResourceStatusCopyright © 2013 Apache Software Foundation. All rights reserved.