code: private Map<BigInteger, Map<Metric, Long>> _evaluateTriggers(Set<Trigger> triggers, List<Metric> metrics, String queryExpression, Long alertEnqueueTimestamp) {
  		Map<BigInteger, Map<Metric, Long>> triggerFiredTimesAndMetricsByTrigger = new HashMap<>();
  
  		for(Trigger trigger : triggers) {
  			Map<Metric, Long> triggerFiredTimesForMetrics = new HashMap<>(metrics.size());
  			for(Metric metric : metrics) {
  				Long triggerFiredTime = getTriggerFiredDatapointTime(trigger, metric, queryExpression, alertEnqueueTimestamp);
  
  				if (triggerFiredTime != null) {
  					triggerFiredTimesForMetrics.put(metric, triggerFiredTime);
  					Map<String, String> tags = new HashMap<>();
  					tags.put(USERTAG, trigger.getAlert().getOwner().getUserName());
  					_monitorService.modifyCounter(Counter.TRIGGERS_VIOLATED, 1, tags);
  				}
  			}
  			triggerFiredTimesAndMetricsByTrigger.put(trigger.getId(), triggerFiredTimesForMetrics);
  		}
  		return triggerFiredTimesAndMetricsByTrigger;
  	}
docs: Evaluates all triggers for the given set of metrics and returns a map of triggerIds to a map containing the triggered metric
  and the trigger fired time.