/** * Get the meter metric with the supplied name, within the scope of this monitor. * * @param name the name of the meter * @return the meter */ public Meter meter(String name) { return metrics.getMeter(name); }
/** * Get the meter metric with the supplied name, within the scope of this monitor. * * @param name the name of the meter * @return the meter */ public Meter meter(String name) { return metrics.getMeter(name); }
@Test public void testGetMeter() { metrics.getMeter("meter"); verify(factory).getMeter(anyString(), eq("meter")); } }