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

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

    MetricConsumer newInstance();

}