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

- Packages that use Priority
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |
  org.apache.hadoop.yarn.client.api |
  org.apache.hadoop.yarn.client.api.async |
  org.apache.hadoop.yarn.security |

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

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return Priority
    Modifier and Type | Method and Description
    --- | ---
    `abstract Priority` | UpdateApplicationPriorityRequest.`getApplicationPriority()` Get the `Priority` of the application to be set.
    `abstract Priority` | UpdateApplicationPriorityResponse.`getApplicationPriority()` Get the `Priority` of the application to be set.
    `abstract Priority` | AllocateResponse.`getApplicationPriority()` Priority of the application

    Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type Priority
    Modifier and Type | Method and Description
    --- | ---
    `static UpdateApplicationPriorityRequest` | UpdateApplicationPriorityRequest.`newInstance(ApplicationId applicationId, Priority priority)`
    `static UpdateApplicationPriorityResponse` | UpdateApplicationPriorityResponse.`newInstance(Priority priority)`
    `abstract void` | UpdateApplicationPriorityRequest.`setApplicationPriority(Priority priority)` Set the `Priority` of the application.
    `abstract void` | UpdateApplicationPriorityResponse.`setApplicationPriority(Priority priority)` Set the `Priority` of the application.

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

    Fields in org.apache.hadoop.yarn.api.records declared as Priority
    Modifier and Type | Field and Description
    --- | ---
    `static Priority` | Priority.`UNDEFINED`

    Methods in org.apache.hadoop.yarn.api.records that return Priority
    Modifier and Type | Method and Description
    --- | ---
    `abstract Priority` | ApplicationSubmissionContext.`getPriority()` Get the `Priority` of the application.
    `abstract Priority` | ResourceRequest.`getPriority()` Get the `Priority` of the request.
    `abstract Priority` | SchedulingRequest.`getPriority()`
    `abstract Priority` | ApplicationReport.`getPriority()` Get priority of the application
    `abstract Priority` | ReservationDefinition.`getPriority()` Get the priority for this reservation.
    `abstract Priority` | Container.`getPriority()` Get the `Priority` at which the `Container` was allocated.
    `abstract Priority` | ContainerReport.`getPriority()` Get the allocated `Priority` of the container.
    `static Priority` | Priority.`newInstance(int p)`

    Methods in org.apache.hadoop.yarn.api.records with parameters of type Priority
    Modifier and Type | Method and Description
    --- | ---
    `int` | Priority.`compareTo(Priority other)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType, boolean keepContainers)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType, boolean keepContainers, LogAggregationContext logAggregationContext)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType, boolean keepContainers, long attemptFailuresValidityInterval)`
    `static ApplicationSubmissionContext` | ApplicationSubmissionContext.`newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType, boolean keepContainers, String appLabelExpression, String amContainerLabelExpression)`
    `static ReservationDefinition` | ReservationDefinition.`newInstance(long arrival, long deadline, ReservationRequests reservationRequests, String name, String recurrenceExpression, Priority priority)`
    `static SchedulingRequest` | SchedulingRequest.`newInstance(long allocationRequestId, Priority priority, ExecutionTypeRequest executionType, Set<String> allocationTags, ResourceSizing resourceSizing, PlacementConstraint placementConstraintExpression)`
    `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)`
    `ResourceRequest.ResourceRequestBuilder` | ResourceRequest.ResourceRequestBuilder.`priority(Priority priority)` Set the `priority` of the request.
    `SchedulingRequest.SchedulingRequestBuilder` | SchedulingRequest.SchedulingRequestBuilder.`priority(Priority priority)` Set the `priority` of the request.
    `abstract void` | ResourceRequest.`setPriority(Priority priority)` Set the `Priority` of the request
    `abstract void` | SchedulingRequest.`setPriority(Priority priority)`
    `abstract void` | ReservationDefinition.`setPriority(Priority priority)` Set the priority for this reservation.
    `abstract void` | ContainerReport.`setPriority(Priority priority)`

  - ### Uses of Priority in org.apache.hadoop.yarn.client.api

    Methods in org.apache.hadoop.yarn.client.api that return Priority
    Modifier and Type | Method and Description
    --- | ---
    `abstract Priority` | YarnClient.`updateApplicationPriority(ApplicationId applicationId, Priority priority)` The interface used by client to set priority of an application

    Methods in org.apache.hadoop.yarn.client.api with parameters of type Priority
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends Collection<T>>` | AMRMClient.`getMatchingRequests(Priority priority, String resourceName, ExecutionType executionType, Resource capability)` Get outstanding `ContainerRequest`s matching the given parameters.
    `List<? extends Collection<T>>` | AMRMClient.`getMatchingRequests(Priority priority, String resourceName, ExecutionType executionType, Resource capability, String profile)`
    `abstract List<? extends Collection<T>>` | AMRMClient.`getMatchingRequests(Priority priority, String resourceName, Resource capability)` Get outstanding `ContainerRequest`s matching the given parameters.
    `abstract Priority` | YarnClient.`updateApplicationPriority(ApplicationId applicationId, Priority priority)` The interface used by client to set priority of an application

  - ### Uses of Priority in org.apache.hadoop.yarn.client.api.async

    Methods in org.apache.hadoop.yarn.client.api.async with parameters of type Priority
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends Collection<T>>` | AMRMClientAsync.`getMatchingRequests(Priority priority, String resourceName, ExecutionType executionType, Resource capability)` Returns all matching ContainerRequests that match the given Priority, ResourceName, ExecutionType and Capability.
    `abstract List<? extends Collection<T>>` | AMRMClientAsync.`getMatchingRequests(Priority priority, String resourceName, Resource capability)`

  - ### Uses of Priority in org.apache.hadoop.yarn.security

    Methods in org.apache.hadoop.yarn.security that return Priority
    Modifier and Type | Method and Description
    --- | ---
    `Priority` | ContainerTokenIdentifier.`getPriority()`

    Constructors in org.apache.hadoop.yarn.security with parameters of type Priority
    Constructor and Description
    `ContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType)`
    `ContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType, long allocationRequestId)` Convenience Constructor for existing clients.
    `ContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType, long allocationRequestId, Set<String> allocationTags)` Create a Container Token Identifier.
    `ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime)`
    `ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext)` Deprecated. Use one of the other constructors instead.
    `ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression)`
    `ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType)`

Copyright © 2022 Apache Software Foundation. All rights reserved.