Class NodeAttributeKey

java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeKey

@Public @Unstable public abstract class NodeAttributeKey extends Object

Node AttributeKey uniquely identifies a given Node Attribute. Node Attribute is identified based on attribute prefix and name.

Node Attribute Prefix is used as namespace to segregate the attributes.

  • Constructor Details

    • NodeAttributeKey

      public NodeAttributeKey()
  • Method Details

    • newInstance

      public static NodeAttributeKey newInstance(String attributeName)
    • newInstance

      public static NodeAttributeKey newInstance(String attributePrefix, String attributeName)
    • getAttributePrefix

      @Public @Unstable public abstract String getAttributePrefix()
    • setAttributePrefix

      @Public @Unstable public abstract void setAttributePrefix(String attributePrefix)
    • getAttributeName

      @Public @Unstable public abstract String getAttributeName()
    • setAttributeName

      @Public @Unstable public abstract void setAttributeName(String attributeName)