protected void updateHostTable(){
  final ServiceScore[] serviceScores=serviceTableRef.get();
  final IHostScoringRule scoringRule=scoringRuleRef.get();
  if (serviceScores == null || serviceScores.length == 0 || scoringRule == null) {
    hostTableRef.set(null);
    return;
  }
  final Map<String,IHostMetrics> hostMetricsMap=getHostReportForKnownServices(scoringRule,serviceScores);
  if (hostMetricsMap == null || hostMetricsMap.isEmpty()) {
    hostTableRef.set(null);
    return;
  }
  if (log.isTraceEnabled())   log.trace("hostMetricsMap=" + hostMetricsMap);
  final HostTable newHostTable=normalizeHostScores(scoringRule,hostMetricsMap);
  if (log.isTraceEnabled())   log.trace("newHostTable=" + newHostTable);
  hostTableRef.set(newHostTable);
}

protected void updateHostTable ( ) { final ServiceScore [ ] serviceScores = serviceTableRef . get ( ) ; final IHostScoringRule scoringRule = scoringRuleRef . get ( ) ; if ( serviceScores == null || serviceScores . length == 0 || scoringRule == null ) { hostTableRef . set ( null ) ; return ; } final Map < String , IHostMetrics > hostMetricsMap = getHostReportForKnownServices ( scoringRule , serviceScores ) ; if ( hostMetricsMap == null || hostMetricsMap . isEmpty ( ) ) { hostTableRef . set ( null ) ; return ; } if ( log . isTraceEnabled ( ) ) log . trace ( "hostMetricsMap=" + hostMetricsMap ) ; final HostTable newHostTable = normalizeHostScores ( scoringRule , hostMetricsMap ) ; if ( log . isTraceEnabled ( ) ) log . trace ( "newHostTable=" + newHostTable ) ; hostTableRef . set ( newHostTable ) ; }
update the per - host scoring table . the host table will only contain entries for hosts associated with at least one service that is joined with the met quorum .
