public class Allocation extends Object
Constructor and Description |
---|
Allocation(List<Container> containers,
Resource resourceLimit) |
Allocation(List<Container> containers,
Resource resourceLimit,
Set<ContainerId> strictContainers) |
Allocation(List<Container> containers,
Resource resourceLimit,
Set<ContainerId> strictContainers,
Set<ContainerId> fungibleContainers,
List<ResourceRequest> fungibleResources) |
Modifier and Type | Method and Description |
---|---|
Set<ContainerId> |
getContainerPreemptions() |
List<Container> |
getContainers() |
Resource |
getResourceLimit() |
List<ResourceRequest> |
getResourcePreemptions() |
Set<ContainerId> |
getStrictContainerPreemptions() |
public Allocation(List<Container> containers, Resource resourceLimit, Set<ContainerId> strictContainers)
public Allocation(List<Container> containers, Resource resourceLimit, Set<ContainerId> strictContainers, Set<ContainerId> fungibleContainers, List<ResourceRequest> fungibleResources)
public Resource getResourceLimit()
public Set<ContainerId> getStrictContainerPreemptions()
public Set<ContainerId> getContainerPreemptions()
public List<ResourceRequest> getResourcePreemptions()
Copyright © 2013 Apache Software Foundation. All rights reserved.