@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class SignalContainerRequest extends Object
The request sent by the client to the ResourceManager
or by the ApplicationMaster
to the NodeManager
to signal a container.
SignalContainerCommand
Constructor and Description |
---|
SignalContainerRequest() |
Modifier and Type | Method and Description |
---|---|
abstract SignalContainerCommand |
getCommand()
Get the
SignalContainerCommand of the signal request. |
abstract ContainerId |
getContainerId()
Get the
ContainerId of the container to signal. |
static SignalContainerRequest |
newInstance(ContainerId containerId,
SignalContainerCommand signalContainerCommand) |
abstract void |
setCommand(SignalContainerCommand command)
Set the
SignalContainerCommand of the signal request. |
abstract void |
setContainerId(ContainerId containerId)
Set the
ContainerId of the container to signal. |
@InterfaceAudience.Public @InterfaceStability.Unstable public static SignalContainerRequest newInstance(ContainerId containerId, SignalContainerCommand signalContainerCommand)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerId getContainerId()
ContainerId
of the container to signal.ContainerId
of the container to signal.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainerId(ContainerId containerId)
ContainerId
of the container to signal.containerId
- containerId.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract SignalContainerCommand getCommand()
SignalContainerCommand
of the signal request.SignalContainerCommand
of the signal request.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setCommand(SignalContainerCommand command)
SignalContainerCommand
of the signal request.command
- signal container command.Copyright © 2024 Apache Software Foundation. All rights reserved.