Class MetricProvider

  • All Implemented Interfaces:
    com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>

    public final class MetricProvider
    extends java.lang.Object
    implements com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>

    This class implements a 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
    • Method Detail

      • get

        public com.yahoo.jdisc.Metric get()
        Specified by:
        get in interface com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>
      • deconstruct

        public void deconstruct()
        Specified by:
        deconstruct in interface com.yahoo.container.di.componentgraph.Provider<com.yahoo.jdisc.Metric>