@Public
@Evolving
public abstract class GetAttributesToNodesRequest
extends java.lang.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 | Description |
|---|---|
GetAttributesToNodesRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.Set<NodeAttributeKey> |
getNodeAttributes() |
Get node attributeKeys for which mapping of hostname to attribute value is
required.
|
static GetAttributesToNodesRequest |
newInstance() |
|
static GetAttributesToNodesRequest |
newInstance(java.util.Set<NodeAttributeKey> attributes) |
|
abstract void |
setNodeAttributes(java.util.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(java.util.Set<NodeAttributeKey> attributes)
@Public @Unstable public abstract void setNodeAttributes(java.util.Set<NodeAttributeKey> attributes)
attributes - Set of NodeAttributeKey provided.@Public @Unstable public abstract java.util.Set<NodeAttributeKey> getNodeAttributes()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.