public void removeAssociatedAggregate(long clusterId,
      String aggregatedDefinitonName) {
    Long id = Long.valueOf(clusterId);

    if (!m_aggregateMap.containsKey(id)) {
      return;
    }

    Map<String, AlertDefinition> map = m_aggregateMap.get(id);
    map.remove(aggregatedDefinitonName);
  }
Removes the associated aggregate for the specified aggregated definition.

@param clusterId
         the ID of the cluster that the definition is bound to.
@param aggregatedDefinitonName
         the unique name of the definition for which aggregates should be
         unassociated (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/state/alert/AggregateDefinitionMapping.java