Class CSQueueStore
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueueStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod for adding a queue to the store.voidclear()Clears the store, removes all queue references.Getter method for the queue it can find queues by both full and short names.Returns all queues as a list.voidMethod for removing a queue from the store by name.voidMethod for removing a queue from the store.
-
Constructor Details
-
CSQueueStore
public CSQueueStore()
-
-
Method Details
-
add
Method for adding a queue to the store.- Parameters:
queue- Queue to be added
-
remove
Method for removing a queue from the store.- Parameters:
queue- The queue to be removed
-
remove
Method for removing a queue from the store by name.- Parameters:
name- A deterministic name for the queue to be removed
-
get
Getter method for the queue it can find queues by both full and short names.- Parameters:
name- Full or short name of the queue- Returns:
- the queue
-
clear
public void clear()Clears the store, removes all queue references. -
getQueues
Returns all queues as a list.- Returns:
- List containing all the queues
-