Class UpdateApplicationPriorityRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UpdateApplicationPriorityRequest
The request sent by the client to the ResourceManager to set or
update the application priority.
The request includes the ApplicationId of the application and
Priority to be set for an application
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationIdGet theApplicationIdof the application.abstract PriorityGet thePriorityof the application to be set.newInstance(ApplicationId applicationId, Priority priority) abstract voidsetApplicationId(ApplicationId applicationId) Set theApplicationIdof the application.abstract voidsetApplicationPriority(Priority priority) Set thePriorityof the application.
-
Constructor Details
-
UpdateApplicationPriorityRequest
public UpdateApplicationPriorityRequest()
-
-
Method Details
-
newInstance
public static UpdateApplicationPriorityRequest newInstance(ApplicationId applicationId, Priority priority) -
getApplicationId
Get theApplicationIdof the application.- Returns:
ApplicationIdof the application
-
setApplicationId
Set theApplicationIdof the application.- Parameters:
applicationId-ApplicationIdof the application
-
getApplicationPriority
Get thePriorityof the application to be set.- Returns:
Priorityof the application to be set.
-
setApplicationPriority
Set thePriorityof the application.- Parameters:
priority-Priorityof the application
-