Class MetricUpdater

  • All Implemented Interfaces:
    com.yahoo.component.Component, java.lang.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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deconstruct()  
      • Methods inherited from class com.yahoo.component.AbstractComponent

        clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetricUpdater

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

      • deconstruct

        public void deconstruct()
        Overrides:
        deconstruct in class com.yahoo.component.AbstractComponent