org.apache.hadoop.yarn.api.records
Class QueueInfo

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.QueueInfo

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class QueueInfo
extends Object

QueueInfo is a report of the runtime information of the queue.

It includes information such as:

See Also:
QueueState, ApplicationClientProtocol.getQueueInfo(org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoRequest)

Constructor Summary
QueueInfo()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueInfo

public QueueInfo()
Method Detail

getQueueName

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract String getQueueName()
Get the name of the queue.

Returns:
name of the queue

getCapacity

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract float getCapacity()
Get the configured capacity of the queue.

Returns:
configured capacity of the queue

getMaximumCapacity

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract float getMaximumCapacity()
Get the maximum capacity of the queue.

Returns:
maximum capacity of the queue

getCurrentCapacity

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract float getCurrentCapacity()
Get the current capacity of the queue.

Returns:
current capacity of the queue

getChildQueues

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<QueueInfo> getChildQueues()
Get the child queues of the queue.

Returns:
child queues of the queue

getApplications

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ApplicationReport> getApplications()
Get the running applications of the queue.

Returns:
running applications of the queue

getQueueState

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract QueueState getQueueState()
Get the QueueState of the queue.

Returns:
QueueState of the queue

getAccessibleNodeLabels

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Set<String> getAccessibleNodeLabels()
Get the accessible node labels of the queue.

Returns:
accessible node labels of the queue

getDefaultNodeLabelExpression

@InterfaceAudience.Public
@InterfaceStability.Stable
public 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.

Returns:
default node label expression of the queue

setDefaultNodeLabelExpression

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract void setDefaultNodeLabelExpression(String defaultLabelExpression)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.