}
protected void displayRates(List<? extends MetricCounter> metrics) throws InterruptedException {
System.out.println("Gathering rates for: " + getName());
for (int i = 0; i < samples; i++) {
Period p = new Period();
Thread.sleep(period);
for (MetricCounter metric : metrics) {
System.out.println(metric.getRateSummary(p));
metric.reset();
}