Class NodeAttributeInfo
java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeInfo
Node Attribute Info describes a NodeAttribute.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NodeAttributeKeyabstract NodeAttributeTypestatic NodeAttributeInfonewInstance(NodeAttribute nodeAttribute) static NodeAttributeInfonewInstance(NodeAttributeKey nodeAttributeKey, NodeAttributeType attributeType) abstract voidsetAttributeKey(NodeAttributeKey attributeKey) abstract voidsetAttributeType(NodeAttributeType attributeType)
-
Constructor Details
-
NodeAttributeInfo
public NodeAttributeInfo()
-
-
Method Details
-
newInstance
-
newInstance
public static NodeAttributeInfo newInstance(NodeAttributeKey nodeAttributeKey, NodeAttributeType attributeType) -
getAttributeKey
-
setAttributeKey
-
getAttributeType
-
setAttributeType
-