Class GetQueueInfoRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoRequest
The request sent by clients to get queue information
from the ResourceManager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanIs information about active applications required?abstract booleanIs information about child queues required?abstract StringGet the queue name for which to get queue information.abstract booleanIs information on the entire child queue hierarchy required?abstract StringGet SubClusterId.static GetQueueInfoRequestnewInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive) static GetQueueInfoRequestnewInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive, String subClusterId) abstract voidsetIncludeApplications(boolean includeApplications) Should we get fetch information about active applications?abstract voidsetIncludeChildQueues(boolean includeChildQueues) Should we fetch information about child queues?abstract voidsetQueueName(String queueName) Set the queue name for which to get queue informationabstract voidsetRecursive(boolean recursive) Should we fetch information on the entire child queue hierarchy?abstract voidsetSubClusterId(String subClusterId) Set SubClusterId.
-
Constructor Details
-
GetQueueInfoRequest
public GetQueueInfoRequest()
-
-
Method Details
-
newInstance
@Public @Stable public static GetQueueInfoRequest newInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive) -
newInstance
@Public @Stable public static GetQueueInfoRequest newInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive, String subClusterId) -
getQueueName
Get the queue name for which to get queue information.- Returns:
- queue name for which to get queue information
-
setQueueName
Set the queue name for which to get queue information- Parameters:
queueName- queue name for which to get queue information
-
getIncludeApplications
@Public @Stable public abstract boolean getIncludeApplications()Is information about active applications required?- Returns:
trueif applications' information is to be included, elsefalse
-
setIncludeApplications
@Public @Stable public abstract void setIncludeApplications(boolean includeApplications) Should we get fetch information about active applications?- Parameters:
includeApplications- fetch information about active applications?
-
getIncludeChildQueues
@Public @Stable public abstract boolean getIncludeChildQueues()Is information about child queues required?- Returns:
trueif information about child queues is required, elsefalse
-
setIncludeChildQueues
@Public @Stable public abstract void setIncludeChildQueues(boolean includeChildQueues) Should we fetch information about child queues?- Parameters:
includeChildQueues- fetch information about child queues?
-
getRecursive
@Public @Stable public abstract boolean getRecursive()Is information on the entire child queue hierarchy required?- Returns:
trueif information about entire hierarchy is required,falseotherwise
-
setRecursive
@Public @Stable public abstract void setRecursive(boolean recursive) Should we fetch information on the entire child queue hierarchy?- Parameters:
recursive- fetch information on the entire child queue hierarchy?
-
getSubClusterId
Get SubClusterId.- Returns:
- SubClusterId.
-
setSubClusterId
Set SubClusterId.- Parameters:
subClusterId- SubClusterId.
-