@Private
@Unstable
public class QueueStateManager<T extends SchedulerQueue,E extends ReservationSchedulerConfiguration>
extends java.lang.Object
| Constructor | Description |
|---|---|
QueueStateManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
activateQueue(java.lang.String queueName) |
Active the queue.
|
boolean |
canDelete(java.lang.String queueName) |
Whether this queue can be deleted.
|
void |
initialize(SchedulerQueueManager<T,E> newQueueManager) |
|
void |
stopQueue(java.lang.String queueName) |
Stop the queue.
|
public void initialize(SchedulerQueueManager<T,E> newQueueManager)
public void stopQueue(java.lang.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(java.lang.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(java.lang.String queueName)
queueName - the queue nameCopyright © 2008–2025 Apache Software Foundation. All rights reserved.