public final class QueuePlacementRuleUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_USER_MAPPING |
static String |
PRIMARY_GROUP_MAPPING |
static String |
SECONDARY_GROUP_MAPPING |
Modifier and Type | Method and Description |
---|---|
static ApplicationPlacementContext |
getPlacementContext(QueueMapping mapping,
CapacitySchedulerQueueManager queueManager) |
static ApplicationPlacementContext |
getPlacementContext(QueueMapping mapping,
String leafQueueName,
CapacitySchedulerQueueManager queueManager) |
static boolean |
isStaticQueueMapping(QueueMapping mapping) |
static QueueMapping |
validateAndGetAutoCreatedQueueMapping(CapacitySchedulerQueueManager queueManager,
QueueMapping mapping) |
static QueueMapping |
validateAndGetQueueMapping(CapacitySchedulerQueueManager queueManager,
CSQueue queue,
QueueMapping mapping) |
static void |
validateQueueMappingUnderParentQueue(CSQueue parentQueue,
String parentQueueName,
String leafQueuePath) |
public static final String CURRENT_USER_MAPPING
public static final String PRIMARY_GROUP_MAPPING
public static final String SECONDARY_GROUP_MAPPING
public static void validateQueueMappingUnderParentQueue(CSQueue parentQueue, String parentQueueName, String leafQueuePath) throws IOException
IOException
public static QueueMapping validateAndGetAutoCreatedQueueMapping(CapacitySchedulerQueueManager queueManager, QueueMapping mapping) throws IOException
IOException
public static QueueMapping validateAndGetQueueMapping(CapacitySchedulerQueueManager queueManager, CSQueue queue, QueueMapping mapping) throws IOException
IOException
public static boolean isStaticQueueMapping(QueueMapping mapping)
public static ApplicationPlacementContext getPlacementContext(QueueMapping mapping, CapacitySchedulerQueueManager queueManager) throws IOException
IOException
public static ApplicationPlacementContext getPlacementContext(QueueMapping mapping, String leafQueueName, CapacitySchedulerQueueManager queueManager) throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.