Package com.netflix.discovery.util
Class ThresholdLevelsMetric
- java.lang.Object
-
- com.netflix.discovery.util.ThresholdLevelsMetric
-
public class ThresholdLevelsMetric extends java.lang.ObjectA collection of gauges that represent different threshold levels over which measurement is mapped to. Value 1 denotes a lowest threshold level that is reached. For example eureka client registry data staleness defines thresholds 30s, 60s, 120s, 240s, 480s. Delay of 90s would be mapped to gauge values {30s=0, 60s=1, 120=0, 240s=0, 480s=0, unlimited=0}.
-
-
Field Summary
Fields Modifier and Type Field Description static ThresholdLevelsMetricNO_OP_METRIC
-
Constructor Summary
Constructors Constructor Description ThresholdLevelsMetric()ThresholdLevelsMetric(java.lang.Object owner, java.lang.String prefix, long[] levels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate(long delayMs)
-
-
-
Field Detail
-
NO_OP_METRIC
public static final ThresholdLevelsMetric NO_OP_METRIC
-
-