public class ContainerReInitEvent extends ContainerEvent
| Constructor and Description |
|---|
ContainerReInitEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext upgradeContext,
ResourceSet resourceSet,
boolean autoCommit)
Container Re-Init Event.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getReInitLaunchContext()
Get the Launch Context to be used for upgrade.
|
ResourceSet |
getResourceSet()
Get the ResourceSet.
|
boolean |
isAutoCommit()
Should this re-Initialization be auto-committed.
|
getContainerIDpublic ContainerReInitEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext upgradeContext,
ResourceSet resourceSet,
boolean autoCommit)
cID - Container Id.upgradeContext - Upgrade Context.resourceSet - Resource Set.autoCommit - Auto Commit.public org.apache.hadoop.yarn.api.records.ContainerLaunchContext getReInitLaunchContext()
public ResourceSet getResourceSet()
public boolean isAutoCommit()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.