@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class GetAttributesToNodesRequest extends Object
The request from clients to get node to attribute value mapping for all or
given set of Node AttributeKey's in the cluster from the
ResourceManager
.
(GetAttributesToNodesRequest)
Constructor and Description |
---|
GetAttributesToNodesRequest() |
Modifier and Type | Method and Description |
---|---|
abstract Set<NodeAttributeKey> |
getNodeAttributes()
Get node attributeKeys for which mapping of hostname to attribute value is
required.
|
static GetAttributesToNodesRequest |
newInstance() |
static GetAttributesToNodesRequest |
newInstance(Set<NodeAttributeKey> attributes) |
abstract void |
setNodeAttributes(Set<NodeAttributeKey> attributes)
Set node attributeKeys for which the mapping of hostname to attribute value
is required.
|
public static GetAttributesToNodesRequest newInstance()
public static GetAttributesToNodesRequest newInstance(Set<NodeAttributeKey> attributes)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setNodeAttributes(Set<NodeAttributeKey> attributes)
attributes
- Set of NodeAttributeKey provided.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Set<NodeAttributeKey> getNodeAttributes()
Copyright © 2024 Apache Software Foundation. All rights reserved.