@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NMToken extends Object
The NMToken is used for authenticating communication with
 NodeManager
It is issued by ResourceMananger when ApplicationMaster
 negotiates resource with ResourceManager and
 validated on NodeManager side.
AllocateResponse.getNMTokens()| Constructor and Description | 
|---|
| NMToken() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| abstract NodeId | getNodeId()Get the  NodeIdof theNodeManagerfor which the NMToken
 is used to authenticate. | 
| abstract Token | getToken()Get the  Tokenused for authenticating withNodeManager | 
| int | hashCode() | 
| abstract void | setNodeId(NodeId nodeId) | 
| abstract void | setToken(Token token) | 
@InterfaceAudience.Public @InterfaceStability.Stable public abstract NodeId getNodeId()
NodeId of the NodeManager for which the NMToken
 is used to authenticate.NodeId of the NodeManager for which the
 NMToken is used to authenticate.@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setNodeId(NodeId nodeId)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Token getToken()
Token used for authenticating with NodeManagerToken used for authenticating with NodeManager@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setToken(Token token)
Copyright © 2023 Apache Software Foundation. All rights reserved.