java.lang.Comparable<RemoteNode>public class RemoteNodePBImpl extends RemoteNode
RemoteNode.| Constructor | Description |
|---|---|
RemoteNodePBImpl() |
|
RemoteNodePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getHttpAddress() |
Get HTTP address.
|
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
Get
NodeId. |
java.lang.String |
getNodePartition() |
Get Node Partition.
|
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto |
getProto() |
|
java.lang.String |
getRackName() |
Get Rack Name.
|
int |
hashCode() |
|
void |
setHttpAddress(java.lang.String httpAddress) |
Set HTTP address.
|
void |
setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId) |
Set
NodeId. |
void |
setNodePartition(java.lang.String nodePartition) |
Set Node Partition.
|
void |
setRackName(java.lang.String rackName) |
Set Rack Name.
|
compareTo, newInstance, newInstance, newInstance, toStringpublic RemoteNodePBImpl()
public RemoteNodePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto getProto()
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
RemoteNodeNodeId.getNodeId in class RemoteNodepublic void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
RemoteNodeNodeId.setNodeId in class RemoteNodenodeId - NodeId.public java.lang.String getHttpAddress()
RemoteNodegetHttpAddress in class RemoteNodepublic void setHttpAddress(java.lang.String httpAddress)
RemoteNodesetHttpAddress in class RemoteNodehttpAddress - HTTP address.public java.lang.String getRackName()
RemoteNodegetRackName in class RemoteNodepublic void setRackName(java.lang.String rackName)
RemoteNodesetRackName in class RemoteNoderackName - Rack Name.public java.lang.String getNodePartition()
RemoteNodegetNodePartition in class RemoteNodepublic void setNodePartition(java.lang.String nodePartition)
RemoteNodesetNodePartition in class RemoteNodenodePartition - node Partition.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.