Package com.linkedin.venice.stats
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.
-
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
ConstructorDescriptionLambdaStat
(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
Deprecated.
-
Gauge
instead. The reason to deprecateLambdaStat
is thatGauge
is a better name when appending the class name as the suffix of metric name here:AbstractVeniceStats.registerSensor(String, Sensor[], MeasurableStat...)
.