aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/jdisc/MetricConsumerFactory.java
blob: a8a5063018f185a0850b8765e4fbcb2cc020eb2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. 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();

}