public class ConfiguredNodeLabels extends Object
| Constructor and Description |
|---|
ConfiguredNodeLabels() |
ConfiguredNodeLabels(CapacitySchedulerConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllConfiguredLabels()
Get all configured node labels aggregated from each queue.
|
Set<String> |
getLabelsByQueue(String queuePath)
Returns a set of configured node labels for a queue.
|
void |
setLabelsByQueue(String queuePath,
Collection<String> nodeLabels)
Set node labels for a specific queue.
|
public ConfiguredNodeLabels()
public ConfiguredNodeLabels(CapacitySchedulerConfiguration conf)
public Set<String> getLabelsByQueue(String queuePath)
queuePath - path of the queuepublic void setLabelsByQueue(String queuePath, Collection<String> nodeLabels)
queuePath - path of the queuenodeLabels - configured node labels to setCopyright © 2008–2024 Apache Software Foundation. All rights reserved.