@InterfaceAudience.Private @InterfaceStability.Unstable public class NodeIdPBImpl extends NodeId
Constructor and Description |
---|
NodeIdPBImpl() |
NodeIdPBImpl(YarnProtos.NodeIdProto proto) |
Modifier and Type | Method and Description |
---|---|
protected void |
build() |
String |
getHost()
Get the hostname of the node.
|
int |
getPort()
Get the port for communicating with the node.
|
YarnProtos.NodeIdProto |
getProto() |
protected void |
setHost(String host) |
protected void |
setPort(int port) |
public NodeIdPBImpl()
public NodeIdPBImpl(YarnProtos.NodeIdProto proto)
public YarnProtos.NodeIdProto getProto()
public int getPort()
NodeId
Copyright © 2013 Apache Software Foundation. All rights reserved.