@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReInitializeContainerRequest extends Object
| Constructor and Description |
|---|
ReInitializeContainerRequest() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
getAutoCommit()
Check if AutoCommit is set for this ReInitialization.
|
abstract ContainerId |
getContainerId()
Get the
ContainerId of the container to re-initialize. |
abstract ContainerLaunchContext |
getContainerLaunchContext()
Get the
ContainerLaunchContext to re-initialize the container
with. |
static ReInitializeContainerRequest |
newInstance(ContainerId containerId,
ContainerLaunchContext containerLaunchContext,
boolean autoCommit)
Creates a new instance of the ReInitializationContainerRequest.
|
abstract void |
setAutoCommit(boolean autoCommit)
Set AutoCommit flag for this ReInitialization.
|
abstract void |
setContainerId(ContainerId containerId)
Set the
ContainerId of the container to re-initialize. |
abstract void |
setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
Set the
ContainerLaunchContext to re-initialize the container
with. |
@InterfaceAudience.Public @InterfaceStability.Unstable public static ReInitializeContainerRequest newInstance(ContainerId containerId, ContainerLaunchContext containerLaunchContext, boolean autoCommit)
containerId - Container Id.containerLaunchContext - Container Launch Context.autoCommit - AutoCommit.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerId getContainerId()
ContainerId of the container to re-initialize.ContainerId of the container to re-initialize.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainerId(ContainerId containerId)
ContainerId of the container to re-initialize.containerId - the containerId of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerLaunchContext getContainerLaunchContext()
ContainerLaunchContext to re-initialize the container
with.ContainerLaunchContext of to re-initialize the
container with.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
ContainerLaunchContext to re-initialize the container
with.containerLaunchContext - the Launch Context.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract boolean getAutoCommit()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setAutoCommit(boolean autoCommit)
autoCommit - Auto Commit.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.