public class ContainerAllocationProposal<A extends SchedulerApplicationAttempt,N extends SchedulerNode> extends Object
| Constructor and Description | 
|---|
| ContainerAllocationProposal(SchedulerContainer<A,N> allocatedOrReservedContainer,
                           List<SchedulerContainer<A,N>> toRelease,
                           SchedulerContainer<A,N> allocateFromReservedContainer,
                           NodeType allocationLocalityType,
                           NodeType requestLocalityType,
                           SchedulingMode schedulingMode,
                           org.apache.hadoop.yarn.api.records.Resource allocatedResource) | 
| Modifier and Type | Method and Description | 
|---|---|
| SchedulerContainer<A,N> | getAllocatedOrReservedContainer() | 
| org.apache.hadoop.yarn.api.records.Resource | getAllocatedOrReservedResource() | 
| SchedulerContainer<A,N> | getAllocateFromReservedContainer() | 
| NodeType | getAllocationLocalityType() | 
| NodeType | getRequestLocalityType() | 
| SchedulingMode | getSchedulingMode() | 
| List<SchedulerContainer<A,N>> | getToRelease() | 
| String | toString() | 
public ContainerAllocationProposal(SchedulerContainer<A,N> allocatedOrReservedContainer, List<SchedulerContainer<A,N>> toRelease, SchedulerContainer<A,N> allocateFromReservedContainer, NodeType allocationLocalityType, NodeType requestLocalityType, SchedulingMode schedulingMode, org.apache.hadoop.yarn.api.records.Resource allocatedResource)
public SchedulingMode getSchedulingMode()
public org.apache.hadoop.yarn.api.records.Resource getAllocatedOrReservedResource()
public NodeType getAllocationLocalityType()
public SchedulerContainer<A,N> getAllocateFromReservedContainer()
public SchedulerContainer<A,N> getAllocatedOrReservedContainer()
public List<SchedulerContainer<A,N>> getToRelease()
public NodeType getRequestLocalityType()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.