@SuppressWarnings("boxing")
  private void put(HostRoleStatus status, Number number) {
    if (null != number) {
      m_counts.put(status, number.intValue());
      for (int i = 0; i < number.intValue(); i++) {
        m_tasksStatus.add(status);
      }
    } else {
      m_counts.put(status, 0);
    }
  }
Constructor invoked by JPA.  See {{@link HostRoleCommandDAO#findAggregateCounts(Long)}}
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandStatusSummaryDTO.java