Class MetricUpdater

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.container.jdisc.metric.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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 Details

    • MetricUpdater

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

    • deconstruct

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