|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.protocolrecords.MoveApplicationAcrossQueuesRequest
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class 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.
ApplicationClientProtocol.moveApplicationAcrossQueues(MoveApplicationAcrossQueuesRequest)
Constructor Summary | |
---|---|
MoveApplicationAcrossQueuesRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveApplicationAcrossQueuesRequest()
Method Detail |
---|
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 in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |