@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class MoveApplicationAcrossQueuesRequest extends Object
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 and Description |
---|
MoveApplicationAcrossQueuesRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationId |
getApplicationId()
Get the
ApplicationId of the application to be moved. |
abstract String |
getTargetQueue()
Get the queue to place the application in.
|
static MoveApplicationAcrossQueuesRequest |
newInstance(ApplicationId appId,
String queue) |
abstract void |
setApplicationId(ApplicationId appId)
Set the
ApplicationId of the application to be moved. |
abstract void |
setTargetQueue(String queue)
Get the queue to place the application in.
|
public static MoveApplicationAcrossQueuesRequest newInstance(ApplicationId appId, String queue)
public abstract ApplicationId getApplicationId()
ApplicationId
of the application to be moved.ApplicationId
of the application to be movedpublic abstract void setApplicationId(ApplicationId appId)
ApplicationId
of the application to be moved.appId
- ApplicationId
of the application to be movedpublic abstract String getTargetQueue()
public abstract void setTargetQueue(String queue)
queue
- the name of the queue to place the application inCopyright © 2019 Apache Software Foundation. All rights reserved.