Class GetClusterNodeAttributesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeAttributesResponse
The response sent by the ResourceManager to a client requesting
a node attributes in cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Set<NodeAttributeInfo>Get node attributes from the response.newInstance(Set<NodeAttributeInfo> attributes) Create instance of GetClusterNodeAttributesResponse.abstract voidsetNodeAttributes(Set<NodeAttributeInfo> attributes) Set node attributes to the response.
-
Constructor Details
-
GetClusterNodeAttributesResponse
public GetClusterNodeAttributesResponse()
-
-
Method Details
-
newInstance
Create instance of GetClusterNodeAttributesResponse.- Parameters:
attributes- Map of Node attributeKey to Type.- Returns:
- GetClusterNodeAttributesResponse.
-
setNodeAttributes
Set node attributes to the response.- Parameters:
attributes- Map of Node attributeKey to Type.
-
getNodeAttributes
Get node attributes from the response.- Returns:
- Node attributes.
-