@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) |
newInstance
public NMTokenPBImpl()
public NMTokenPBImpl(YarnServiceProtos.NMTokenProto proto)
public NodeId getNodeId()
NMToken
NodeId
of the NodeManager
for which the NMToken
is used to authenticate.public Token getToken()
NMToken
Token
used for authenticating with NodeManager
public YarnServiceProtos.NMTokenProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.