Package com.yahoo.container.jdisc.metric
Class MetricConsumerProviderProvider
- java.lang.Object
-
- com.yahoo.container.jdisc.metric.MetricConsumerProviderProvider
-
- All Implemented Interfaces:
com.yahoo.container.di.componentgraph.Provider<MetricConsumerProvider>
public class MetricConsumerProviderProvider extends java.lang.Object implements com.yahoo.container.di.componentgraph.Provider<MetricConsumerProvider>
A dependency injection provider which provides the default metrics provider if no provider is set up explicitly in the application package. The purpose of this is to be a fallback if nothing is set up explicitly.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description MetricConsumerProviderProvider(com.yahoo.component.provider.ComponentRegistry<com.yahoo.container.jdisc.MetricConsumerFactory> factoryRegistry, com.yahoo.metrics.MetricsPresentationConfig presentationConfig, com.yahoo.container.jdisc.state.StateMonitor stateMonitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deconstruct()
MetricConsumerProvider
get()
-
-
-
Constructor Detail
-
MetricConsumerProviderProvider
@Inject public MetricConsumerProviderProvider(com.yahoo.component.provider.ComponentRegistry<com.yahoo.container.jdisc.MetricConsumerFactory> factoryRegistry, com.yahoo.metrics.MetricsPresentationConfig presentationConfig, com.yahoo.container.jdisc.state.StateMonitor stateMonitor)
-
-
Method Detail
-
get
public MetricConsumerProvider get()
- Specified by:
get
in interfacecom.yahoo.container.di.componentgraph.Provider<MetricConsumerProvider>
-
deconstruct
public void deconstruct()
- Specified by:
deconstruct
in interfacecom.yahoo.container.di.componentgraph.Provider<MetricConsumerProvider>
-
-