@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class GetNodesToAttributesRequest extends Object
The request from clients to get nodes to attributes mapping
in the cluster from the ResourceManager
.
(GetNodesToAttributesRequest)
Constructor and Description |
---|
GetNodesToAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
abstract Set<String> |
getHostNames()
Get hostnames for which mapping is required.
|
static GetNodesToAttributesRequest |
newInstance(Set<String> hostNames) |
abstract void |
setHostNames(Set<String> hostnames)
Set hostnames for which mapping is required.
|
public static GetNodesToAttributesRequest newInstance(Set<String> hostNames)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setHostNames(Set<String> hostnames)
hostnames
- Copyright © 2020 Apache Software Foundation. All rights reserved.