public class LocalizerHeartbeatResponsePBImpl extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto> implements LocalizerHeartbeatResponse
| Constructor and Description |
|---|
LocalizerHeartbeatResponsePBImpl() |
LocalizerHeartbeatResponsePBImpl(YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto proto) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllResources(List<org.apache.hadoop.yarn.api.records.LocalResource> resources) |
void |
addResource(org.apache.hadoop.yarn.api.records.LocalResource resource) |
void |
clearResources() |
List<org.apache.hadoop.yarn.api.records.LocalResource> |
getAllResources() |
LocalizerAction |
getLocalizerAction() |
org.apache.hadoop.yarn.api.records.LocalResource |
getLocalResource(int i) |
YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto |
getProto() |
void |
removeResource(int index) |
void |
setLocalizerAction(LocalizerAction action) |
public LocalizerHeartbeatResponsePBImpl()
public LocalizerHeartbeatResponsePBImpl(YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto proto)
public YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerNodemanagerServiceProtos.LocalizerHeartbeatResponseProto>public LocalizerAction getLocalizerAction()
getLocalizerAction in interface LocalizerHeartbeatResponsepublic List<org.apache.hadoop.yarn.api.records.LocalResource> getAllResources()
getAllResources in interface LocalizerHeartbeatResponsepublic org.apache.hadoop.yarn.api.records.LocalResource getLocalResource(int i)
getLocalResource in interface LocalizerHeartbeatResponsepublic void setLocalizerAction(LocalizerAction action)
setLocalizerAction in interface LocalizerHeartbeatResponsepublic void addAllResources(List<org.apache.hadoop.yarn.api.records.LocalResource> resources)
addAllResources in interface LocalizerHeartbeatResponsepublic void addResource(org.apache.hadoop.yarn.api.records.LocalResource resource)
addResource in interface LocalizerHeartbeatResponsepublic void removeResource(int index)
removeResource in interface LocalizerHeartbeatResponsepublic void clearResources()
clearResources in interface LocalizerHeartbeatResponseCopyright © 2014 Apache Software Foundation. All Rights Reserved.