@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetQueueInfoRequest extends Object
The request sent by clients to get queue information
from the ResourceManager
.
Constructor and Description |
---|
GetQueueInfoRequest() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
getIncludeApplications()
Is information about active applications required?
|
abstract boolean |
getIncludeChildQueues()
Is information about child queues required?
|
abstract String |
getQueueName()
Get the queue name for which to get queue information.
|
abstract boolean |
getRecursive()
Is information on the entire child queue hierarchy required?
|
abstract String |
getSubClusterId()
Get SubClusterId.
|
static GetQueueInfoRequest |
newInstance(String queueName,
boolean includeApplications,
boolean includeChildQueues,
boolean recursive) |
static GetQueueInfoRequest |
newInstance(String queueName,
boolean includeApplications,
boolean includeChildQueues,
boolean recursive,
String subClusterId) |
abstract void |
setIncludeApplications(boolean includeApplications)
Should we get fetch information about active applications?
|
abstract void |
setIncludeChildQueues(boolean includeChildQueues)
Should we fetch information about child queues?
|
abstract void |
setQueueName(String queueName)
Set the queue name for which to get queue information
|
abstract void |
setRecursive(boolean recursive)
Should we fetch information on the entire child queue hierarchy?
|
abstract void |
setSubClusterId(String subClusterId)
Set SubClusterId.
|
@InterfaceAudience.Public @InterfaceStability.Stable public static GetQueueInfoRequest newInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive)
@InterfaceAudience.Public @InterfaceStability.Stable public static GetQueueInfoRequest newInstance(String queueName, boolean includeApplications, boolean includeChildQueues, boolean recursive, String subClusterId)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getQueueName()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setQueueName(String queueName)
queueName
- queue name for which to get queue information@InterfaceAudience.Public @InterfaceStability.Stable public abstract boolean getIncludeApplications()
true
if applications' information is to be included,
else false
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setIncludeApplications(boolean includeApplications)
includeApplications
- fetch information about active
applications?@InterfaceAudience.Public @InterfaceStability.Stable public abstract boolean getIncludeChildQueues()
true
if information about child queues is required,
else false
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setIncludeChildQueues(boolean includeChildQueues)
includeChildQueues
- fetch information about child queues?@InterfaceAudience.Public @InterfaceStability.Stable public abstract boolean getRecursive()
true
if information about entire hierarchy is
required, false
otherwise@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setRecursive(boolean recursive)
recursive
- fetch information on the entire child queue
hierarchy?@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getSubClusterId()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setSubClusterId(String subClusterId)
subClusterId
- SubClusterId.Copyright © 2024 Apache Software Foundation. All rights reserved.