summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/jdisc/MetricConsumerFactory.java
blob: 127d69a0ce3374e02b5f18ee089faf803d0b7a3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a>
 */
public interface MetricConsumerFactory {

    public MetricConsumer newInstance();
}