Class NodeToAttributes

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes

@Public @Unstable public abstract class NodeToAttributes extends Object
Represents a mapping of Node id to list of attributes.
  • Constructor Details

    • NodeToAttributes

      public NodeToAttributes()
  • Method Details

    • newInstance

      public static NodeToAttributes newInstance(String node, List<NodeAttribute> attributes)
    • getNode

      @Public @Unstable public abstract String getNode()
    • setNode

      @Public @Unstable public abstract void setNode(String node)
    • getNodeAttributes

      @Public @Unstable public abstract List<NodeAttribute> getNodeAttributes()
    • setNodeAttributes

      @Public @Unstable public abstract void setNodeAttributes(List<NodeAttribute> attributes)