public class UpdateContainerTokenEvent extends ContainerEvent
| Constructor and Description |
|---|
UpdateContainerTokenEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier updatedToken,
boolean isResourceChange,
boolean isExecTypeUpdate,
boolean isIncrease)
Create Update event.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.security.ContainerTokenIdentifier |
getUpdatedToken()
Update Container Token.
|
boolean |
isExecTypeUpdate()
Is this update an ExecType Update.
|
boolean |
isIncrease()
Is this a container Increase.
|
boolean |
isResourceChange()
Is this update a ResourceChange.
|
getContainerIDpublic UpdateContainerTokenEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier updatedToken,
boolean isResourceChange,
boolean isExecTypeUpdate,
boolean isIncrease)
cID - Container Id.updatedToken - Updated Container Token.isResourceChange - Is Resource change.isExecTypeUpdate - Is ExecutionType Update.isIncrease - Is container increase.public org.apache.hadoop.yarn.security.ContainerTokenIdentifier getUpdatedToken()
public boolean isResourceChange()
public boolean isExecTypeUpdate()
public boolean isIncrease()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.