Class UpdateApplicationPriorityResponse

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UpdateApplicationPriorityResponse

@Public @Unstable public abstract class UpdateApplicationPriorityResponse extends Object

The response sent by the ResourceManager to the client on update the application priority.

A response without exception means that the move has completed successfully.

See Also:
  • Constructor Details

    • UpdateApplicationPriorityResponse

      public UpdateApplicationPriorityResponse()
  • Method Details

    • newInstance

      public static UpdateApplicationPriorityResponse newInstance(Priority priority)
    • getApplicationPriority

      public abstract Priority getApplicationPriority()
      Get the Priority of the application to be set.
      Returns:
      Updated Priority of the application.
    • setApplicationPriority

      public abstract void setApplicationPriority(Priority priority)
      Set the Priority of the application.
      Parameters:
      priority - Priority of the application