public class AutoCreatedQueueTemplate
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
AUTO_QUEUE_LEAF_TEMPLATE_PREFIX |
|
static java.lang.String |
AUTO_QUEUE_PARENT_TEMPLATE_PREFIX |
|
static java.lang.String |
AUTO_QUEUE_TEMPLATE_PREFIX |
| Constructor | Description |
|---|---|
AutoCreatedQueueTemplate(CapacitySchedulerConfiguration configuration,
QueuePath queuePath) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
getAutoQueueTemplatePrefix(java.lang.String queue) |
|
java.util.Map<java.lang.String,java.lang.String> |
getLeafOnlyProperties() |
Get the leaf specific template properties specified for a parent queue.
|
java.util.Map<java.lang.String,java.lang.String> |
getParentOnlyProperties() |
Get the parent specific template properties specified for a parent queue.
|
java.util.Map<java.lang.String,java.lang.String> |
getTemplateProperties() |
Get the common template properties specified for a parent queue.
|
void |
setTemplateEntriesForChild(CapacitySchedulerConfiguration conf,
java.lang.String childQueuePath) |
Sets the common template properties and parent specific template
properties of a child queue based on its parent template settings.
|
void |
setTemplateEntriesForChild(CapacitySchedulerConfiguration conf,
java.lang.String childQueuePath,
boolean isLeaf) |
Sets the common template properties and leaf or parent specific template
properties of a child queue based on its parent template settings.
|
public static final java.lang.String AUTO_QUEUE_TEMPLATE_PREFIX
public static final java.lang.String AUTO_QUEUE_LEAF_TEMPLATE_PREFIX
public static final java.lang.String AUTO_QUEUE_PARENT_TEMPLATE_PREFIX
public AutoCreatedQueueTemplate(CapacitySchedulerConfiguration configuration, QueuePath queuePath)
@VisibleForTesting public static java.lang.String getAutoQueueTemplatePrefix(java.lang.String queue)
public java.util.Map<java.lang.String,java.lang.String> getTemplateProperties()
public java.util.Map<java.lang.String,java.lang.String> getLeafOnlyProperties()
public java.util.Map<java.lang.String,java.lang.String> getParentOnlyProperties()
public void setTemplateEntriesForChild(CapacitySchedulerConfiguration conf, java.lang.String childQueuePath)
conf - configuration to setchildQueuePath - child queue path used for prefixing the propertiespublic void setTemplateEntriesForChild(CapacitySchedulerConfiguration conf, java.lang.String childQueuePath, boolean isLeaf)
conf - configuration to setisLeaf - whether to include leaf specific template properties, or
parent specific template propertieschildQueuePath - child queue path used for prefixing the propertiesCopyright © 2008–2025 Apache Software Foundation. All rights reserved.