Class ResponseStatsUtil
java.lang.Object
com.linkedin.venice.listener.response.stats.ResponseStatsUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
consumeDoubleAndBooleanIfAbove
(DoubleAndBooleanConsumer consumer, double value, boolean b, double threshold) static void
consumeDoubleIfAbove
(DoubleConsumer consumer, double value, double threshold) static void
consumeIntIfAbove
(IntConsumer consumer, int value, int threshold) static void
recordKeyValueSizes
(ServerHttpRequestStats stats, it.unimi.dsi.fastutil.ints.IntList keySizes, it.unimi.dsi.fastutil.ints.IntList valueSizes)
-
Constructor Details
-
ResponseStatsUtil
public ResponseStatsUtil()
-
-
Method Details
-
recordKeyValueSizes
public static void recordKeyValueSizes(ServerHttpRequestStats stats, it.unimi.dsi.fastutil.ints.IntList keySizes, it.unimi.dsi.fastutil.ints.IntList valueSizes) -
consumeIntIfAbove
-
consumeDoubleIfAbove
-
consumeDoubleAndBooleanIfAbove
public static void consumeDoubleAndBooleanIfAbove(DoubleAndBooleanConsumer consumer, double value, boolean b, double threshold)
-