org.apache.hadoop.yarn.server.resourcemanager.scheduler
Class Allocation
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.Allocation
public class Allocation
- extends Object
Constructor Summary |
Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit)
|
Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit,
Set<org.apache.hadoop.yarn.api.records.ContainerId> strictContainers)
|
Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit,
Set<org.apache.hadoop.yarn.api.records.ContainerId> strictContainers,
Set<org.apache.hadoop.yarn.api.records.ContainerId> fungibleContainers,
List<org.apache.hadoop.yarn.api.records.ResourceRequest> fungibleResources)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Allocation
public Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit)
Allocation
public Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit,
Set<org.apache.hadoop.yarn.api.records.ContainerId> strictContainers)
Allocation
public Allocation(List<org.apache.hadoop.yarn.api.records.Container> containers,
org.apache.hadoop.yarn.api.records.Resource resourceLimit,
Set<org.apache.hadoop.yarn.api.records.ContainerId> strictContainers,
Set<org.apache.hadoop.yarn.api.records.ContainerId> fungibleContainers,
List<org.apache.hadoop.yarn.api.records.ResourceRequest> fungibleResources)
getContainers
public List<org.apache.hadoop.yarn.api.records.Container> getContainers()
getResourceLimit
public org.apache.hadoop.yarn.api.records.Resource getResourceLimit()
getStrictContainerPreemptions
public Set<org.apache.hadoop.yarn.api.records.ContainerId> getStrictContainerPreemptions()
getContainerPreemptions
public Set<org.apache.hadoop.yarn.api.records.ContainerId> getContainerPreemptions()
getResourcePreemptions
public List<org.apache.hadoop.yarn.api.records.ResourceRequest> getResourcePreemptions()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.