Package com.yahoo.container.jdisc.metric
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
ConstructorDescriptionMetricUpdater
(com.yahoo.jdisc.Metric metric, com.yahoo.jdisc.statistics.ContainerWatchdogMetrics containerWatchdogMetrics) -
Method Summary
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
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 interfacecom.yahoo.component.Deconstructable
- Overrides:
deconstruct
in classcom.yahoo.component.AbstractComponent
-