@InterfaceAudience.Private @InterfaceStability.Unstable public class NMTokenPBImpl extends NMToken
| Constructor and Description |
|---|
NMTokenPBImpl() |
NMTokenPBImpl(YarnServiceProtos.NMTokenProto proto) |
| Modifier and Type | Method and Description |
|---|---|
NodeId |
getNodeId()
Get the
NodeId of the NodeManager for which the NMToken
is used to authenticate. |
YarnServiceProtos.NMTokenProto |
getProto() |
Token |
getToken()
Get the
Token used for authenticating with NodeManager |
void |
setNodeId(NodeId nodeId) |
void |
setToken(Token token) |
newInstancepublic NMTokenPBImpl()
public NMTokenPBImpl(YarnServiceProtos.NMTokenProto proto)
public NodeId getNodeId()
NMTokenNodeId of the NodeManager for which the NMToken
is used to authenticate.public Token getToken()
NMTokenToken used for authenticating with NodeManagerpublic YarnServiceProtos.NMTokenProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.