org.apache.hadoop.yarn.server.resourcemanager.webapp.dao
Class FairSchedulerQueueInfo

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.FairSchedulerQueueInfo
Direct Known Subclasses:
FairSchedulerLeafQueueInfo

public class FairSchedulerQueueInfo
extends Object


Constructor Summary
FairSchedulerQueueInfo()
           
FairSchedulerQueueInfo(FSQueue queue, FairScheduler scheduler)
           
 
Method Summary
 Collection<FairSchedulerQueueInfo> getChildQueues()
           
 ResourceInfo getFairShare()
          Returns the fair share of this queue in megabytes.
 float getFairShareMemoryFraction()
          Returns the fair share as a fraction of the entire cluster capacity.
 int getMaxApplications()
           
 ResourceInfo getMaxResources()
           
 float getMaxResourcesFraction()
          Returns the capacity of this queue as a fraction of the entire cluster capacity.
 ResourceInfo getMinResources()
           
 float getMinShareMemoryFraction()
          Returns the queue's min share in as a fraction of the entire cluster capacity.
 String getQueueName()
           
 String getSchedulingPolicy()
          Returns the name of the scheduling policy used by this queue.
 float getUsedMemoryFraction()
          Returns the memory used by this queue as a fraction of the entire cluster capacity.
 ResourceInfo getUsedResources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FairSchedulerQueueInfo

public FairSchedulerQueueInfo()

FairSchedulerQueueInfo

public FairSchedulerQueueInfo(FSQueue queue,
                              FairScheduler scheduler)
Method Detail

getFairShareMemoryFraction

public float getFairShareMemoryFraction()
Returns the fair share as a fraction of the entire cluster capacity.


getFairShare

public ResourceInfo getFairShare()
Returns the fair share of this queue in megabytes.


getMinResources

public ResourceInfo getMinResources()

getMaxResources

public ResourceInfo getMaxResources()

getMaxApplications

public int getMaxApplications()

getQueueName

public String getQueueName()

getUsedResources

public ResourceInfo getUsedResources()

getMinShareMemoryFraction

public float getMinShareMemoryFraction()
Returns the queue's min share in as a fraction of the entire cluster capacity.


getUsedMemoryFraction

public float getUsedMemoryFraction()
Returns the memory used by this queue as a fraction of the entire cluster capacity.


getMaxResourcesFraction

public float getMaxResourcesFraction()
Returns the capacity of this queue as a fraction of the entire cluster capacity.


getSchedulingPolicy

public String getSchedulingPolicy()
Returns the name of the scheduling policy used by this queue.


getChildQueues

public Collection<FairSchedulerQueueInfo> getChildQueues()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.