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 Details

  • Method Details

    • 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.component.Deconstructable