@InterfaceAudience.Private @InterfaceStability.Unstable public class QueueStateManager<T extends SchedulerQueue,E extends ReservationSchedulerConfiguration> extends Object
| Constructor and Description | 
|---|
| QueueStateManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activateQueue(String queueName)Active the queue. | 
| boolean | canDelete(String queueName)Whether this queue can be deleted. | 
| void | initialize(SchedulerQueueManager<T,E> newQueueManager) | 
| void | stopQueue(String queueName)Stop the queue. | 
public void initialize(SchedulerQueueManager<T,E> newQueueManager)
public void stopQueue(String queueName) throws org.apache.hadoop.yarn.exceptions.YarnException
queueName - the queue nameorg.apache.hadoop.yarn.exceptions.YarnException - if the queue does not existpublic void activateQueue(String queueName) throws org.apache.hadoop.yarn.exceptions.YarnException
queueName - the queue nameorg.apache.hadoop.yarn.exceptions.YarnException - if the queue does not exist
         or the queue can not be activated.public boolean canDelete(String queueName)
queueName - the queue nameCopyright © 2008–2023 Apache Software Foundation. All rights reserved.