public class CapacitySchedulerInfo extends SchedulerInfo
| Modifier and Type | Field and Description |
|---|---|
protected float |
capacity |
protected float |
maxCapacity |
protected String |
queueName |
protected CapacitySchedulerQueueInfoList |
queues |
protected float |
usedCapacity |
maxAllocResource, minAllocResource, schedulerName, schedulingResourceTypes| Constructor and Description |
|---|
CapacitySchedulerInfo() |
CapacitySchedulerInfo(CSQueue parent,
org.apache.hadoop.yarn.nodelabels.NodeLabel nodeLabel) |
| Modifier and Type | Method and Description |
|---|---|
float |
getCapacity() |
float |
getMaxCapacity() |
String |
getQueueName() |
CapacitySchedulerQueueInfoList |
getQueues() |
protected CapacitySchedulerQueueInfoList |
getQueues(CSQueue parent,
org.apache.hadoop.yarn.nodelabels.NodeLabel nodeLabel) |
float |
getUsedCapacity() |
getMaxAllocation, getMinAllocation, getSchedulerResourceTypes, getSchedulerTypeprotected float capacity
protected float usedCapacity
protected float maxCapacity
protected String queueName
protected CapacitySchedulerQueueInfoList queues
public CapacitySchedulerInfo()
public CapacitySchedulerInfo(CSQueue parent, org.apache.hadoop.yarn.nodelabels.NodeLabel nodeLabel)
public float getCapacity()
public float getUsedCapacity()
public float getMaxCapacity()
public String getQueueName()
public CapacitySchedulerQueueInfoList getQueues()
protected final CapacitySchedulerQueueInfoList getQueues(CSQueue parent, org.apache.hadoop.yarn.nodelabels.NodeLabel nodeLabel)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.