public class DistributedSchedulingAllocateRequestPBImpl extends DistributedSchedulingAllocateRequest
DistributedSchedulingAllocateRequest.| Constructor and Description | 
|---|
| DistributedSchedulingAllocateRequestPBImpl() | 
| DistributedSchedulingAllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<org.apache.hadoop.yarn.api.records.Container> | getAllocatedContainers()Get the list of newly allocated  Containerby the
 Distributed Scheduling component on the NodeManager. | 
| org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest | getAllocateRequest()Get the underlying  AllocateRequestobject. | 
| org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto | getProto() | 
| void | setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> pContainers)Set the list of newly allocated  Containerby the
 Distributed Scheduling component on the NodeManager. | 
| void | setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest pAllocateRequest)Set the underlying  AllocateRequestobject. | 
public DistributedSchedulingAllocateRequestPBImpl()
public DistributedSchedulingAllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto proto)
public org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest getAllocateRequest()
DistributedSchedulingAllocateRequestAllocateRequest object.getAllocateRequest in class DistributedSchedulingAllocateRequestpublic void setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest pAllocateRequest)
DistributedSchedulingAllocateRequestAllocateRequest object.setAllocateRequest in class DistributedSchedulingAllocateRequestpAllocateRequest - Allocate requestpublic List<org.apache.hadoop.yarn.api.records.Container> getAllocatedContainers()
DistributedSchedulingAllocateRequestContainer by the
 Distributed Scheduling component on the NodeManager.getAllocatedContainers in class DistributedSchedulingAllocateRequestContainerpublic void setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> pContainers)
DistributedSchedulingAllocateRequestContainer by the
 Distributed Scheduling component on the NodeManager.setAllocatedContainers in class DistributedSchedulingAllocateRequestpContainers - list of newly allocated Containerpublic org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto getProto()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.