@Override
	public void delete(String name) {
		Assert.notNull(name, "The name of the metric must not be null");
		map.remove(name);
	}
Memory backed implementation of MetricRepository that uses a ConcurrentMap

@author Luke Taylor
spring-xd-analytics/src/main/java/org/springframework/xd/analytics/metrics/memory/InMemoryMetricRepository.java