protected void processHostStatus(HeartBeat heartbeat) throws AmbariException {
    processHostStatus(heartbeat.getComponentStatus(), heartbeat.getReports(), heartbeat.getHostname());
  }
Update host status basing on components statuses

@param heartbeat heartbeat to process
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatProcessor.java