## Uses of Class
org.apache.hadoop.yarn.api.records.ResourceRequest

- Packages that use ResourceRequest
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |

- - ### Uses of ResourceRequest in org.apache.hadoop.yarn.api.protocolrecords

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<ResourceRequest>` | AllocateRequest.`getAskList()` Get the list of `ResourceRequest` to update the `ResourceManager` about the application's resource requirements.

    Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `AllocateRequest.AllocateRequestBuilder` | AllocateRequest.AllocateRequestBuilder.`askList(List<ResourceRequest> askList)` Set the `askList` of the request.
    `static AllocateRequest` | AllocateRequest.`newInstance(int responseID, float appProgress, List<ResourceRequest> resourceAsk, List<ContainerId> containersToBeReleased, List<UpdateContainerRequest> updateRequests, ResourceBlacklistRequest resourceBlacklistRequest)`
    `static AllocateRequest` | AllocateRequest.`newInstance(int responseID, float appProgress, List<ResourceRequest> resourceAsk, List<ContainerId> containersToBeReleased, ResourceBlacklistRequest resourceBlacklistRequest)`
    `static AllocateRequest` | AllocateRequest.`newInstance(int responseID, float appProgress, List<ResourceRequest> resourceAsk, List<ContainerId> containersToBeReleased, ResourceBlacklistRequest resourceBlacklistRequest, String trackingUrl)`
    `abstract void` | AllocateRequest.`setAskList(List<ResourceRequest> resourceRequests)` Set list of `ResourceRequest` to update the `ResourceManager` about the application's resource requirements.

  - ### Uses of ResourceRequest in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `ResourceRequest` | ResourceRequest.ResourceRequestBuilder.`build()` Return generated `ResourceRequest` object.
    `static ResourceRequest` | ResourceRequest.`clone(ResourceRequest rr)` Clone a ResourceRequest object (shallow copy).
    `abstract ResourceRequest` | ApplicationSubmissionContext.`getAMContainerResourceRequest()` Deprecated. See `ApplicationSubmissionContext.getAMContainerResourceRequests()`
    `abstract ResourceRequest` | PreemptionResourceRequest.`getResourceRequest()`
    `static ResourceRequest` | ResourceRequest.`newInstance(Priority priority, String hostName, Resource capability, int numContainers)`
    `static ResourceRequest` | ResourceRequest.`newInstance(Priority priority, String hostName, Resource capability, int numContainers, boolean relaxLocality)`
    `static ResourceRequest` | ResourceRequest.`newInstance(Priority priority, String hostName, Resource capability, int numContainers, boolean relaxLocality, String labelExpression)`
    `static ResourceRequest` | ResourceRequest.`newInstance(Priority priority, String hostName, Resource capability, int numContainers, boolean relaxLocality, String labelExpression, ExecutionTypeRequest executionTypeRequest)`

    Methods in org.apache.hadoop.yarn.api.records that return types with arguments of type ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<ResourceRequest>` | ApplicationSubmissionContext.`getAMContainerResourceRequests()` Get the ResourceRequests of the AM container.

    Methods in org.apache.hadoop.yarn.api.records with parameters of type ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `static ResourceRequest` | ResourceRequest.`clone(ResourceRequest rr)` Clone a ResourceRequest object (shallow copy).
    `int` | ResourceRequest.ResourceRequestComparator.`compare(ResourceRequest r1, ResourceRequest r2)`
    `int` | ResourceRequest.`compareTo(ResourceRequest other)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, String applicationType, boolean keepContainers, String appLabelExpression, ResourceRequest resourceRequest)`
    `static PreemptionResourceRequest` | PreemptionResourceRequest.`newInstance(ResourceRequest req)`
    `abstract void` | ApplicationSubmissionContext.`setAMContainerResourceRequest(ResourceRequest request)` Deprecated. See `ApplicationSubmissionContext.setAMContainerResourceRequests(List)`
    `abstract void` | PreemptionResourceRequest.`setResourceRequest(ResourceRequest req)`

    Method parameters in org.apache.hadoop.yarn.api.records with type arguments of type ResourceRequest
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | ApplicationSubmissionContext.`setAMContainerResourceRequests(List<ResourceRequest> requests)` Set ResourceRequests of the AM container.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.