Uses of Class org.apache.hadoop.yarn.api.records.Priority (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, class: Priority

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

Packages that use Priority
Package
Description
org.apache.hadoop.yarn.api.protocolrecords
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.records
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.client.api
org.apache.hadoop.yarn.client.api.async
org.apache.hadoop.yarn.security
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## 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
  Description
  `abstract Priority`
  AllocateResponse.`getApplicationPriority()`
  Priority of the application
  `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.
  Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type Priority
  Modifier and Type
  Method
  Description
  `static UpdateApplicationPriorityRequest`
  UpdateApplicationPriorityRequest.`newInstance(ApplicationId applicationId, Priority priority)`
  `static UpdateApplicationPriorityResponse`
  UpdateApplicationPriorityResponse.`newInstance(Priority priority)`
  `abstract void`
  AllocateResponse.`setApplicationPriority(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
  Description
  `static final Priority`
  Priority.`UNDEFINED`
  Methods in org.apache.hadoop.yarn.api.records that return Priority
  Modifier and Type
  Method
  Description
  `abstract Priority`
  ApplicationReport.`getPriority()`
  Get priority of the application
  `abstract Priority`
  ApplicationSubmissionContext.`getPriority()`
  Get the `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`
  ReservationDefinition.`getPriority()`
  Get the priority for this reservation.
  `abstract Priority`
  ResourceRequest.`getPriority()`
  Get the `Priority` of the request.
  `abstract Priority`
  SchedulingRequest.`getPriority()`
  `static Priority`
  Priority.`newInstance(int p)`
  Methods in org.apache.hadoop.yarn.api.records with parameters of type Priority
  Modifier and Type
  Method
  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 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 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 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, 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 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 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 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)`
  `static SchedulingRequest`
  SchedulingRequest.`newInstance(long allocationRequestId, Priority priority, ExecutionTypeRequest executionType, Set<String> allocationTags, ResourceSizing resourceSizing, PlacementConstraint placementConstraintExpression)`
  `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`
  ApplicationSubmissionContext.`setPriority(Priority priority)`
  Set the `Priority` of the application.
  `abstract void`
  Container.`setPriority(Priority priority)`
  `abstract void`
  ContainerReport.`setPriority(Priority priority)`
  `abstract void`
  ReservationDefinition.`setPriority(Priority priority)`
  Set the priority for this reservation.
  `abstract void`
  ResourceRequest.`setPriority(Priority priority)`
  Set the `Priority` of the request
  `abstract void`
  SchedulingRequest.`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
  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
  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
  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
  Description
  `Priority`
  ContainerTokenIdentifier.`getPriority()`
  Constructors in org.apache.hadoop.yarn.security with parameters of type Priority
  Modifier
  Constructor
  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)`