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