Class ReplaceLabelsOnNodeRequest
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.ReplaceLabelsOnNodeRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract StringGet the subClusterId.static ReplaceLabelsOnNodeRequestnewInstance(Map<NodeId, Set<String>> map) static ReplaceLabelsOnNodeRequestabstract voidsetFailOnUnknownNodes(boolean failOnUnknownNodes) abstract voidsetNodeToLabels(Map<NodeId, Set<String>> map) abstract voidsetSubClusterId(String subClusterId) Set the subClusterId.
-
Constructor Details
-
ReplaceLabelsOnNodeRequest
public ReplaceLabelsOnNodeRequest()
-
-
Method Details
-
newInstance
-
newInstance
-
setNodeToLabels
-
getNodeToLabels
-
setFailOnUnknownNodes
@Public @Evolving public abstract void setFailOnUnknownNodes(boolean failOnUnknownNodes) -
getFailOnUnknownNodes
@Public @Evolving public abstract boolean getFailOnUnknownNodes() -
getSubClusterId
Get the subClusterId.- Returns:
- subClusterId.
-
setSubClusterId
Set the subClusterId.- Parameters:
subClusterId- subCluster Id.
-