@InterfaceAudience.Private @InterfaceStability.Unstable public final class FairQueuePlacementUtils extends Object
FairScheduler
Modifier and Type | Field and Description |
---|---|
protected static String |
DOT |
protected static String |
DOT_REPLACEMENT |
protected static String |
ROOT_QUEUE |
Modifier and Type | Method and Description |
---|---|
protected static String |
assureRoot(String queueName)
Assure root prefix for a queue name.
|
protected static String |
cleanName(String name)
Replace the periods in the username or group name with "_dot_" and
remove trailing and leading whitespace.
|
protected static boolean |
isValidQueueName(String queueName)
Validate the queue name: it may not start or end with a
DOT . |
protected static final String DOT
protected static final String DOT_REPLACEMENT
protected static final String ROOT_QUEUE
protected static String cleanName(String name)
name
- The name to cleanDOT
replaced with DOT_REPLACEMENT
protected static String assureRoot(String queueName)
queueName
- The queue name to check for the root prefixCopyright © 2008–2020 Apache Software Foundation. All rights reserved.