CapacitySchedulerQueueManager@Private
@Unstable
public interface SchedulerQueueManager<T extends SchedulerQueue,E extends ReservationSchedulerConfiguration>
| Modifier and Type | Method | Description |
|---|---|---|
void |
addQueue(java.lang.String queueName,
T queue) |
Add a new queue to the existing queues.
|
T |
getQueue(java.lang.String queueName) |
Get a queue matching the specified queue name.
|
java.util.Map<java.lang.String,T> |
getQueues() |
Get all the queues.
|
T |
getRootQueue() |
Get the root queue.
|
void |
reinitializeQueues(E newConf) |
Reinitialize the queues.
|
void |
removeQueue(java.lang.String queueName) |
Remove the queue from the existing queue.
|
T getRootQueue()
java.util.Map<java.lang.String,T> getQueues()
void removeQueue(java.lang.String queueName)
queueName - the queue namevoid addQueue(java.lang.String queueName,
T queue)
queueName - the queue namequeue - the queue objectT getQueue(java.lang.String queueName)
queueName - the queue namevoid reinitializeQueues(E newConf) throws java.io.IOException
newConf - the configurationjava.io.IOException - if fails to re-initialize queuesCopyright © 2008–2025 Apache Software Foundation. All rights reserved.