Class UpdateApplicationPriorityResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UpdateApplicationPriorityResponse
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PriorityGet thePriorityof the application to be set.newInstance(Priority priority) abstract voidsetApplicationPriority(Priority priority) Set thePriorityof the application.
-
Constructor Details
-
UpdateApplicationPriorityResponse
public UpdateApplicationPriorityResponse()
-
-
Method Details
-
newInstance
-
getApplicationPriority
Get thePriorityof the application to be set.- Returns:
- Updated
Priorityof the application.
-
setApplicationPriority
Set thePriorityof the application.- Parameters:
priority-Priorityof the application
-