public class RMNodeAttribute extends AbstractLabel
| Constructor and Description | 
|---|
| RMNodeAttribute(org.apache.hadoop.yarn.api.records.NodeAttribute attribute) | 
| RMNodeAttribute(String labelName,
               org.apache.hadoop.yarn.api.records.Resource res,
               int activeNMs,
               org.apache.hadoop.yarn.api.records.NodeAttribute attribute) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addNode(String node,
       AttributeValue attributeValue) | 
| boolean | equals(Object obj) | 
| Map<String,AttributeValue> | getAssociatedNodeIds() | 
| org.apache.hadoop.yarn.api.records.NodeAttribute | getAttribute() | 
| org.apache.hadoop.yarn.api.records.NodeAttributeType | getAttributeType() | 
| int | hashCode() | 
| void | removeNode(String node) | 
| void | setAttribute(org.apache.hadoop.yarn.api.records.NodeAttribute attribute) | 
addNode, getLabelName, getNumActiveNMs, getResource, removeNodepublic RMNodeAttribute(org.apache.hadoop.yarn.api.records.NodeAttribute attribute)
public RMNodeAttribute(String labelName, org.apache.hadoop.yarn.api.records.Resource res, int activeNMs, org.apache.hadoop.yarn.api.records.NodeAttribute attribute)
public org.apache.hadoop.yarn.api.records.NodeAttribute getAttribute()
public void setAttribute(org.apache.hadoop.yarn.api.records.NodeAttribute attribute)
public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()
public void addNode(String node, AttributeValue attributeValue)
public void removeNode(String node)
public Map<String,AttributeValue> getAssociatedNodeIds()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.