public class NodeInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
availMemoryMB |
protected String |
healthReport |
protected String |
id |
protected long |
lastHealthUpdate |
protected String |
nodeHostName |
protected String |
nodeHTTPAddress |
protected int |
numContainers |
protected String |
rack |
protected NodeState |
state |
protected long |
usedMemoryMB |
Constructor and Description |
---|
NodeInfo() |
NodeInfo(RMNode ni,
ResourceScheduler sched) |
Modifier and Type | Method and Description |
---|---|
long |
getAvailableMemory() |
String |
getHealthReport() |
long |
getLastHealthUpdate() |
String |
getNodeHTTPAddress() |
String |
getNodeId() |
int |
getNumContainers() |
String |
getRack() |
String |
getState() |
long |
getUsedMemory() |
void |
setNodeHTTPAddress(String nodeHTTPAddress) |
protected String rack
protected NodeState state
protected String id
protected String nodeHostName
protected String nodeHTTPAddress
protected long lastHealthUpdate
protected String healthReport
protected int numContainers
protected long usedMemoryMB
protected long availMemoryMB
public NodeInfo()
public NodeInfo(RMNode ni, ResourceScheduler sched)
public String getRack()
public String getState()
public String getNodeId()
public String getNodeHTTPAddress()
public void setNodeHTTPAddress(String nodeHTTPAddress)
public long getLastHealthUpdate()
public String getHealthReport()
public int getNumContainers()
public long getUsedMemory()
public long getAvailableMemory()
Copyright © 2013 Apache Software Foundation. All rights reserved.