Class MetricUpdater

  • All Implemented Interfaces:
    com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

    public class MetricUpdater
    extends com.yahoo.component.AbstractComponent
    Uses a timer to emit metrics
    Author:
    bjorncs, vegardh
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricUpdater​(com.yahoo.jdisc.Metric metric, com.yahoo.jdisc.statistics.ContainerWatchdogMetrics containerWatchdogMetrics)  
    • Constructor Detail

      • MetricUpdater

        @Inject
        public MetricUpdater​(com.yahoo.jdisc.Metric metric,
                             com.yahoo.jdisc.statistics.ContainerWatchdogMetrics containerWatchdogMetrics)
    • Method Detail

      • deconstruct

        public void deconstruct()
        Specified by:
        deconstruct in interface com.yahoo.component.Deconstructable
        Overrides:
        deconstruct in class com.yahoo.component.AbstractComponent