## 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 |

- - ### 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` | UpdateApplicationPriorityResponse.`getApplicationPriority()` Get the `Priority` of the application to be set.
    `abstract Priority` | AllocateResponse.`getApplicationPriority()` Priority of the application
    `abstract Priority` | UpdateApplicationPriorityRequest.`getApplicationPriority()` Get the `Priority` of the application to be set.

    Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type Priority
    Modifier and Type | Method and Description
    --- | ---
    `AllocateResponse.AllocateResponseBuilder` | AllocateResponse.AllocateResponseBuilder.`applicationPriority(Priority applicationPriority)` Set the `applicationPriority` of the response.
    `static UpdateApplicationPriorityRequest` | UpdateApplicationPriorityRequest.`newInstance(ApplicationId applicationId, Priority priority)`
    `static UpdateApplicationPriorityResponse` | UpdateApplicationPriorityResponse.`newInstance(Priority priority)`
    `abstract void` | UpdateApplicationPriorityResponse.`setApplicationPriority(Priority priority)` Set the `Priority` of the application.
    `abstract void` | AllocateResponse.`setApplicationPriority(Priority priority)`
    `abstract void` | UpdateApplicationPriorityRequest.`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` | ApplicationReport.`getPriority()` Get priority of the application
    `abstract Priority` | Container.`getPriority()` Get the `Priority` at which the `Container` was allocated.
    `abstract Priority` | ContainerReport.`getPriority()` Get the allocated `Priority` of the container.
    `abstract Priority` | ResourceRequest.`getPriority()` Get the `Priority` of the request.
    `abstract Priority` | ApplicationSubmissionContext.`getPriority()` Get the `Priority` of the application.
    `abstract Priority` | SchedulingRequest.`getPriority()`
    `abstract Priority` | ReservationDefinition.`getPriority()` Get the priority for this reservation.
    `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 ApplicationReport` | ApplicationReport.`newInstance(ApplicationId applicationId, ApplicationAttemptId applicationAttemptId, String user, String queue, String name, String host, int rpcPort, Token clientToAMToken, YarnApplicationState state, String diagnostics, String url, long startTime, long finishTime, FinalApplicationStatus finalStatus, ApplicationResourceUsageReport appResources, String origTrackingUrl, float progress, String applicationType, Token amRmToken, Set<String> tags, boolean unmanagedApplication, Priority priority, String appNodeLabelExpression, String amNodeLabelExpression)`
    `static ApplicationReport` | ApplicationReport.`newInstance(ApplicationId applicationId, ApplicationAttemptId applicationAttemptId, String user, String queue, String name, String host, int rpcPort, Token clientToAMToken, YarnApplicationState state, String diagnostics, String url, long startTime, long launchTime, long finishTime, FinalApplicationStatus finalStatus, ApplicationResourceUsageReport appResources, String origTrackingUrl, float progress, String applicationType, Token amRmToken, Set<String> tags, boolean unmanagedApplication, Priority priority, String appNodeLabelExpression, String amNodeLabelExpression)`
    `static ApplicationReport` | ApplicationReport.`newInstance(ApplicationId applicationId, ApplicationAttemptId applicationAttemptId, String user, String queue, String name, String host, int rpcPort, Token clientToAMToken, YarnApplicationState state, String diagnostics, String url, long startTime, long submitTime, long launchTime, long finishTime, FinalApplicationStatus finalStatus, ApplicationResourceUsageReport appResources, String origTrackingUrl, float progress, String applicationType, Token amRmToken, Set<String> tags, boolean unmanagedApplication, Priority priority, String appNodeLabelExpression, String amNodeLabelExpression)`
    `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 Container` | Container.`newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken)`
    `static Container` | Container.`newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken, ExecutionType executionType)`
    `static ContainerReport` | ContainerReport.`newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, String diagnosticInfo, String logUrl, int containerExitStatus, ContainerState containerState, String nodeHttpAddress)`
    `static ContainerReport` | ContainerReport.`newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, String diagnosticInfo, String logUrl, int containerExitStatus, ContainerState containerState, String nodeHttpAddress, ExecutionType executionType)`
    `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` | ApplicationReport.`setPriority(Priority priority)`
    `abstract void` | Container.`setPriority(Priority priority)`
    `abstract void` | ContainerReport.`setPriority(Priority priority)`
    `abstract void` | ResourceRequest.`setPriority(Priority priority)` Set the `Priority` of the request
    `abstract void` | ApplicationSubmissionContext.`setPriority(Priority priority)` Set the `Priority` of the application.
    `abstract void` | SchedulingRequest.`setPriority(Priority priority)`
    `abstract void` | ReservationDefinition.`setPriority(Priority priority)` Set the priority for this reservation.

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