public class FairSchedulerQueueInfo extends Object
Constructor and Description |
---|
FairSchedulerQueueInfo() |
FairSchedulerQueueInfo(FSQueue queue,
FairScheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
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() |
public FairSchedulerQueueInfo()
public FairSchedulerQueueInfo(FSQueue queue, FairScheduler scheduler)
public float getFairShareMemoryFraction()
public ResourceInfo getFairShare()
public ResourceInfo getMinResources()
public ResourceInfo getMaxResources()
public int getMaxApplications()
public String getQueueName()
public ResourceInfo getUsedResources()
public float getMinShareMemoryFraction()
public float getUsedMemoryFraction()
public float getMaxResourcesFraction()
public String getSchedulingPolicy()
public Collection<FairSchedulerQueueInfo> getChildQueues()
Copyright © 2013 Apache Software Foundation. All rights reserved.