@InterfaceAudience.Public @InterfaceStability.Stable public abstract class KillApplicationRequest extends Object
The request sent by the client to the ResourceManager
to abort a submitted application.
The request includes the ApplicationId
of the application to be
aborted.
Constructor and Description |
---|
KillApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationId |
getApplicationId()
Get the
ApplicationId of the application to be aborted. |
abstract String |
getDiagnostics()
Get the diagnostics to which the application is being killed.
|
static KillApplicationRequest |
newInstance(ApplicationId applicationId) |
abstract void |
setApplicationId(ApplicationId applicationId) |
abstract void |
setDiagnostics(String diagnostics)
Set the diagnostics to which the application is being killed.
|
public KillApplicationRequest()
@InterfaceAudience.Public @InterfaceStability.Stable public static KillApplicationRequest newInstance(ApplicationId applicationId)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationId getApplicationId()
ApplicationId
of the application to be aborted.ApplicationId
of the application to be aborted@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setApplicationId(ApplicationId applicationId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getDiagnostics()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setDiagnostics(String diagnostics)
diagnostics
- diagnostics to which the application is being
killedCopyright © 2017 Apache Software Foundation. All rights reserved.