001package org.avaje.metric.statistics; 002 003/** 004 * Common for statistics of all metrics. 005 */ 006public interface MetricStatistics { 007 008 /** 009 * Return the associated metric name. 010 */ 011 String getName(); 012 013 /** 014 * Visit the reporter for the given metric type. 015 */ 016 void visit(MetricStatisticsVisitor reporter); 017 018}