@Test public void testMetricsMetricsFactoryClassOfQ() { Metrics m = new Metrics(factory, "testing", MetricsTest.class); assertTrue(m.getBase().contains(MetricsTest.class.getCanonicalName())); assertTrue(m.getBase().startsWith("testing")); }
String getBase() { return base; }
Metrics { String getBase() { return base; } }
Metrics { String getBase() { return base; } Metrics(MetricsFactory factory, String prefix, Class<?> clazz);  Metrics(MetricsFactory factory, Class<?> clazz); }
Metrics { String getBase() { return base; } Metrics(MetricsFactory factory, String prefix, Class<?> clazz);  Metrics(MetricsFactory factory, Class<?> clazz); Timer getTimer(String name); Counter getCounter(String name); Histogram getHistogram(String name); Meter getMeter(String name); }
Metrics { String getBase() { return base; } Metrics(MetricsFactory factory, String prefix, Class<?> clazz);  Metrics(MetricsFactory factory, Class<?> clazz); Timer getTimer(String name); Counter getCounter(String name); Histogram getHistogram(String name); Meter getMeter(String name); static final String SEP; }