aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/jdisc/MetricConsumerFactory.java
blob: 63cc206938db533a7cc3479bdca828a6c2c65484 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jdisc;

import com.yahoo.jdisc.application.MetricConsumer;

/**
 * This is the interface to implement if one wishes to configure a non-default <code>MetricConsumer</code>. Simply
 * add the implementing class as a component in your services.xml file.
 *
 * @author Simon Thoresen Hult
 */
public interface MetricConsumerFactory {

    MetricConsumer newInstance();

}