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

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.SchedulerInfo
      extended by org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerInfo

public class CapacitySchedulerInfo
extends SchedulerInfo


Field Summary
protected  float capacity
           
protected  float maxCapacity
           
protected  String queueName
           
protected  ArrayList<CapacitySchedulerQueueInfo> queues
           
protected  float usedCapacity
           
 
Constructor Summary
CapacitySchedulerInfo()
           
CapacitySchedulerInfo(CSQueue parent)
           
 
Method Summary
 float getCapacity()
           
 float getMaxCapacity()
           
 String getQueueName()
           
protected  ArrayList<CapacitySchedulerQueueInfo> getQueues(CSQueue parent)
           
 ArrayList<CapacitySchedulerQueueInfo> getSubQueues()
           
 float getUsedCapacity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capacity

protected float capacity

usedCapacity

protected float usedCapacity

maxCapacity

protected float maxCapacity

queueName

protected String queueName

queues

protected ArrayList<CapacitySchedulerQueueInfo> queues
Constructor Detail

CapacitySchedulerInfo

public CapacitySchedulerInfo()

CapacitySchedulerInfo

public CapacitySchedulerInfo(CSQueue parent)
Method Detail

getCapacity

public float getCapacity()

getUsedCapacity

public float getUsedCapacity()

getMaxCapacity

public float getMaxCapacity()

getQueueName

public String getQueueName()

getSubQueues

public ArrayList<CapacitySchedulerQueueInfo> getSubQueues()

getQueues

protected ArrayList<CapacitySchedulerQueueInfo> getQueues(CSQueue parent)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.