code: public void registerAll(Metric2Set metrics) throws IllegalArgumentException {
  		for (Map.Entry<MetricName, Metric> entry : metrics.getMetrics().entrySet()) {
  			register(entry.getKey(), entry.getValue());
  		}
  	}
docs: Given a metric set, registers them.
  
  @param metrics a set of metrics
  @throws IllegalArgumentException if any of the names are already registered