public class RMNodeAttribute extends AbstractLabel
| Constructor | Description |
|---|---|
RMNodeAttribute(java.lang.String labelName,
org.apache.hadoop.yarn.api.records.Resource res,
int activeNMs,
org.apache.hadoop.yarn.api.records.NodeAttribute attribute) |
|
RMNodeAttribute(org.apache.hadoop.yarn.api.records.NodeAttribute attribute) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addNode(java.lang.String node,
AttributeValue attributeValue) |
|
boolean |
equals(java.lang.Object obj) |
|
java.util.Map<java.lang.String,AttributeValue> |
getAssociatedNodeIds() |
|
org.apache.hadoop.yarn.api.records.NodeAttribute |
getAttribute() |
|
org.apache.hadoop.yarn.api.records.NodeAttributeType |
getAttributeType() |
|
int |
hashCode() |
|
void |
removeNode(java.lang.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(java.lang.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(java.lang.String node,
AttributeValue attributeValue)
public void removeNode(java.lang.String node)
public java.util.Map<java.lang.String,AttributeValue> getAssociatedNodeIds()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.