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