Class LambdaStat

java.lang.Object
io.tehuti.metrics.stats.AsyncGauge
com.linkedin.venice.stats.LambdaStat
All Implemented Interfaces:
io.tehuti.metrics.Measurable, io.tehuti.metrics.MeasurableStat, io.tehuti.metrics.NamedMeasurableStat, io.tehuti.metrics.Stat
Direct Known Subclasses:
TehutiUtils.RatioStat, TehutiUtils.SimpleRatioStat

@Deprecated public class LambdaStat extends io.tehuti.metrics.stats.AsyncGauge
Deprecated.
, use Gauge instead. The reason to deprecate LambdaStat is that Gauge is a better name when appending the class name as the suffix of metric name here: AbstractVeniceStats.registerSensor(String, Sensor[], MeasurableStat...).
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.tehuti.metrics.stats.AsyncGauge

    io.tehuti.metrics.stats.AsyncGauge.AsyncGaugeExecutor
  • Field Summary

    Fields inherited from class io.tehuti.metrics.stats.AsyncGauge

    DEFAULT_ASYNC_GAUGE_EXECUTOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    LambdaStat(io.tehuti.metrics.Measurable measurable, String metricName)
    Deprecated.
     
  • Method Summary

    Methods inherited from class io.tehuti.metrics.stats.AsyncGauge

    getStatName, measure, record

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.tehuti.metrics.Measurable

    measureWithExtraValue
  • Constructor Details

    • LambdaStat

      public LambdaStat(io.tehuti.metrics.Measurable measurable, String metricName)
      Deprecated.