@InterfaceAudience.Public @InterfaceStability.Stable public abstract class QueueInfo extends Object
It includes information such as:
QueueState
of the queue.Constructor and Description |
---|
QueueInfo() |
Modifier and Type | Method and Description |
---|---|
abstract Set<String> |
getAccessibleNodeLabels()
Get the
accessible node labels of the queue. |
abstract List<ApplicationReport> |
getApplications()
Get the running applications of the queue.
|
abstract float |
getCapacity()
Get the configured capacity of the queue.
|
abstract List<QueueInfo> |
getChildQueues()
Get the child queues of the queue.
|
abstract float |
getCurrentCapacity()
Get the current capacity of the queue.
|
abstract String |
getDefaultNodeLabelExpression()
Get the
default node label expression of the queue, this takes
affect only when the ApplicationSubmissionContext and
ResourceRequest don't specify their
NodeLabelExpression . |
abstract float |
getMaximumCapacity()
Get the maximum capacity of the queue.
|
abstract String |
getQueueName()
Get the name of the queue.
|
abstract QueueState |
getQueueState()
Get the
QueueState of the queue. |
abstract void |
setDefaultNodeLabelExpression(String defaultLabelExpression) |
public QueueInfo()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getQueueName()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getMaximumCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getCurrentCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<QueueInfo> getChildQueues()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<ApplicationReport> getApplications()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract QueueState getQueueState()
QueueState
of the queue.QueueState
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract Set<String> getAccessibleNodeLabels()
accessible node labels
of the queue.accessible node labels
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getDefaultNodeLabelExpression()
default node label expression
of the queue, this takes
affect only when the ApplicationSubmissionContext
and
ResourceRequest
don't specify their
NodeLabelExpression
.default node label expression
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setDefaultNodeLabelExpression(String defaultLabelExpression)
Copyright © 2015 Apache Software Foundation. All rights reserved.