synchronized void setHealthStatus(TaskTrackerHealthStatus healthStatus) {
    healthStatus.setNodeHealthy(this.isHealthy());
    healthStatus.setHealthReport(this.getHealthReport());
    healthStatus.setLastReported(this.getLastReportedTime());
  }
synchronized void setHealthStatus ( TaskTrackerHealthStatus healthStatus ) { healthStatus . setNodeHealthy ( this . isHealthy ( ) ) ; healthStatus . setHealthReport ( this . getHealthReport ( ) ) ; healthStatus . setLastReported ( this . getLastReportedTime ( ) ) ; }
Method to populate the fields for the {@link TaskTrackerHealthStatus}

@param healthStatus