| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<UpdatedContainer> | AllocateResponse. getUpdatedContainers()Get the list of newly updated containers by
  ResourceManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers) | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers,
           CollectorInfo collectorInfo) | 
| abstract void | AllocateResponse. setUpdatedContainers(List<UpdatedContainer> updatedContainers)Set the list of newly updated containers by
  ResourceManager. | 
| AllocateResponse.AllocateResponseBuilder | AllocateResponse.AllocateResponseBuilder. updatedContainers(List<UpdatedContainer> updatedContainers)Set the  updatedContainersof the response. | 
| Modifier and Type | Method and Description | 
|---|---|
| static UpdatedContainer | UpdatedContainer. newInstance(ContainerUpdateType updateType,
           Container container)Static Factory method. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.