@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class GetClusterNodeAttributesResponse extends Object
The response sent by the ResourceManager
to a client requesting
a node attributes in cluster.
(GetClusterNodeAttributesRequest)
Constructor and Description |
---|
GetClusterNodeAttributesResponse() |
Modifier and Type | Method and Description |
---|---|
abstract Set<NodeAttributeInfo> |
getNodeAttributes()
Get node attributes from the response.
|
static GetClusterNodeAttributesResponse |
newInstance(Set<NodeAttributeInfo> attributes)
Create instance of GetClusterNodeAttributesResponse.
|
abstract void |
setNodeAttributes(Set<NodeAttributeInfo> attributes)
Set node attributes to the response.
|
public static GetClusterNodeAttributesResponse newInstance(Set<NodeAttributeInfo> attributes)
attributes
- Map of Node attributeKey to Type.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setNodeAttributes(Set<NodeAttributeInfo> attributes)
attributes
- Map of Node attributeKey to Type.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Set<NodeAttributeInfo> getNodeAttributes()
Copyright © 2024 Apache Software Foundation. All rights reserved.