Package com.yahoo.container.jdisc.metric
Class MetricProvider
java.lang.Object
com.yahoo.container.jdisc.metric.MetricProvider
- All Implemented Interfaces:
com.yahoo.component.Deconstructable
,com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>
public final class MetricProvider
extends Object
implements com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>
An implementation of
Provider
component of Metric
. Because this class depends on MetricConsumerProvider
, any change to the consumer configuration will trigger reconfiguration of this component,
which in turn triggers reconfiguration of any component that depends on Metric
.- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MetricProvider
-
-
Method Details
-
get
public com.yahoo.jdisc.Metric get()- Specified by:
get
in interfacecom.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>
-
deconstruct
public void deconstruct()- Specified by:
deconstruct
in interfacecom.yahoo.component.Deconstructable
-