Class MoveApplicationAcrossQueuesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.MoveApplicationAcrossQueuesRequest
The request sent by the client to the ResourceManager
to move a submitted application to a different queue.
The request includes the ApplicationId of the application to be
moved and the queue to place it in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationIdGet theApplicationIdof the application to be moved.abstract StringGet the queue to place the application in.newInstance(ApplicationId appId, String queue) abstract voidsetApplicationId(ApplicationId appId) Set theApplicationIdof the application to be moved.abstract voidsetTargetQueue(String queue) Get the queue to place the application in.
-
Constructor Details
-
MoveApplicationAcrossQueuesRequest
public MoveApplicationAcrossQueuesRequest()
-
-
Method Details
-
newInstance
-
getApplicationId
Get theApplicationIdof the application to be moved.- Returns:
ApplicationIdof the application to be moved
-
setApplicationId
Set theApplicationIdof the application to be moved.- Parameters:
appId-ApplicationIdof the application to be moved
-
getTargetQueue
Get the queue to place the application in.- Returns:
- the name of the queue to place the application in
-
setTargetQueue
Get the queue to place the application in.- Parameters:
queue- the name of the queue to place the application in
-