@Test public void testGet() throws Exception { Assert.assertNotNull(RootMetricContext.get()); Assert.assertEquals(RootMetricContext.get(), RootMetricContext.get()); Assert.assertEquals(RootMetricContext.get().getName(), RootMetricContext.ROOT_METRIC_CONTEXT); }
public synchronized static RootMetricContext get() { return get(Lists.<Tag<?>>newArrayList()); }
RootMetricContext extends MetricContext { public synchronized static RootMetricContext get() { return get(Lists.<Tag<?>>newArrayList()); } }
RootMetricContext extends MetricContext { public synchronized static RootMetricContext get() { return get(Lists.<Tag<?>>newArrayList()); } private  RootMetricContext(List<Tag<?>> tags); }
RootMetricContext extends MetricContext { public synchronized static RootMetricContext get() { return get(Lists.<Tag<?>>newArrayList()); } private  RootMetricContext(List<Tag<?>> tags); synchronized static RootMetricContext get(); synchronized static RootMetricContext get(List<Tag<?>> tags); void addNewReporter(ContextAwareReporter reporter); void removeReporter(ContextAwareReporter reporter); void startReporting(); void stopReporting(); }
RootMetricContext extends MetricContext { public synchronized static RootMetricContext get() { return get(Lists.<Tag<?>>newArrayList()); } private  RootMetricContext(List<Tag<?>> tags); synchronized static RootMetricContext get(); synchronized static RootMetricContext get(List<Tag<?>> tags); void addNewReporter(ContextAwareReporter reporter); void removeReporter(ContextAwareReporter reporter); void startReporting(); void stopReporting(); static final String ROOT_METRIC_CONTEXT; }