All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.pcp.parfait.dropwizard.MetricAdapterFactory Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package io.pcp.parfait.dropwizard;

import com.codahale.metrics.Metric;

public interface MetricAdapterFactory {

    /**
     * Create a MetricAdapted for a Dropwizard metric
     *
     * @param name The name the metric is published under in Dropwizard
     * @param metric The metric
     * @return A MetricAdapter representing the passed Metric
     */
    MetricAdapter createMetricAdapterFor(String name, Metric metric);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy