org.apache.hadoop.yarn.server.resourcemanager.scheduler
Class Allocation

java.lang.Object
  extended by 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)
           
 
Method Summary
 Set<org.apache.hadoop.yarn.api.records.ContainerId> getContainerPreemptions()
           
 List<org.apache.hadoop.yarn.api.records.Container> getContainers()
           
 org.apache.hadoop.yarn.api.records.Resource getResourceLimit()
           
 List<org.apache.hadoop.yarn.api.records.ResourceRequest> getResourcePreemptions()
           
 Set<org.apache.hadoop.yarn.api.records.ContainerId> getStrictContainerPreemptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.