public class NodeHealthStatusPBImpl extends NodeHealthStatus
| Constructor and Description |
|---|
NodeHealthStatusPBImpl() |
NodeHealthStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getHealthReport()
Get the diagnostic health report of the node.
|
boolean |
getIsNodeHealthy()
Is the node healthy?
|
long |
getLastHealthReportTime()
Get the last timestamp at which the health report was received.
|
org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto |
getProto() |
int |
hashCode() |
void |
setHealthReport(String healthReport) |
void |
setIsNodeHealthy(boolean isNodeHealthy) |
void |
setLastHealthReportTime(long lastHealthReport) |
String |
toString() |
newInstancepublic NodeHealthStatusPBImpl()
public NodeHealthStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto getProto()
public boolean getIsNodeHealthy()
NodeHealthStatusgetIsNodeHealthy in class NodeHealthStatustrue if the node is healthy, else falsepublic void setIsNodeHealthy(boolean isNodeHealthy)
setIsNodeHealthy in class NodeHealthStatuspublic String getHealthReport()
NodeHealthStatusgetHealthReport in class NodeHealthStatuspublic void setHealthReport(String healthReport)
setHealthReport in class NodeHealthStatuspublic long getLastHealthReportTime()
NodeHealthStatusgetLastHealthReportTime in class NodeHealthStatuspublic void setLastHealthReportTime(long lastHealthReport)
setLastHealthReportTime in class NodeHealthStatusCopyright © 2008–2024 Apache Software Foundation. All rights reserved.