@Test public void instrumentWithDefaultNameTimed() { TestService service = AtlasDbMetrics.instrumentTimed(metrics, TestService.class, testService); assertMethodInstrumented(PING_REQUEST_METRIC, service::ping); assertMethodNotInstrumented(PING_NOT_TIMED_METRIC, service::pingNotTimed); }
public static <T, U extends T> T instrumentTimed( MetricRegistry metricRegistry, Class<T> serviceInterface, U service) { return instrument(metricRegistry, serviceInterface, service, serviceInterface.getName(), instrumentTimedOnly()); }
AtlasDbMetrics { public static <T, U extends T> T instrumentTimed( MetricRegistry metricRegistry, Class<T> serviceInterface, U service) { return instrument(metricRegistry, serviceInterface, service, serviceInterface.getName(), instrumentTimedOnly()); } }
AtlasDbMetrics { public static <T, U extends T> T instrumentTimed( MetricRegistry metricRegistry, Class<T> serviceInterface, U service) { return instrument(metricRegistry, serviceInterface, service, serviceInterface.getName(), instrumentTimedOnly()); } private  AtlasDbMetrics(); }
AtlasDbMetrics { public static <T, U extends T> T instrumentTimed( MetricRegistry metricRegistry, Class<T> serviceInterface, U service) { return instrument(metricRegistry, serviceInterface, service, serviceInterface.getName(), instrumentTimedOnly()); } private  AtlasDbMetrics(); static T instrumentTimed(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service); static T instrumentTimed(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service, String name); @Deprecated static T instrument(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service); @Deprecated static T instrument(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service, String name); static T instrumentWithTaggedMetrics(
            TaggedMetricRegistry taggedMetrics,
            Class<T> serviceInterface,
            U service); static T instrumentWithTaggedMetrics(
            TaggedMetricRegistry taggedMetrics,
            Class<T> serviceInterface,
            U service,
            Function<InvocationContext, Map<String, String>> tagFunction); static void registerCache(MetricRegistry metricRegistry, Cache<?, ?> cache, String metricsPrefix); }
AtlasDbMetrics { public static <T, U extends T> T instrumentTimed( MetricRegistry metricRegistry, Class<T> serviceInterface, U service) { return instrument(metricRegistry, serviceInterface, service, serviceInterface.getName(), instrumentTimedOnly()); } private  AtlasDbMetrics(); static T instrumentTimed(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service); static T instrumentTimed(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service, String name); @Deprecated static T instrument(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service); @Deprecated static T instrument(
            MetricRegistry metricRegistry, Class<T> serviceInterface, U service, String name); static T instrumentWithTaggedMetrics(
            TaggedMetricRegistry taggedMetrics,
            Class<T> serviceInterface,
            U service); static T instrumentWithTaggedMetrics(
            TaggedMetricRegistry taggedMetrics,
            Class<T> serviceInterface,
            U service,
            Function<InvocationContext, Map<String, String>> tagFunction); static void registerCache(MetricRegistry metricRegistry, Cache<?, ?> cache, String metricsPrefix);  }