Class ResponseStatsUtil
- java.lang.Object
-
- com.linkedin.venice.listener.response.stats.ResponseStatsUtil
-
public class ResponseStatsUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResponseStatsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
consumeDoubleAndBooleanIfAbove(DoubleAndBooleanConsumer consumer, double value, boolean b, double threshold)
static void
consumeDoubleIfAbove(java.util.function.DoubleConsumer consumer, double value, double threshold)
static void
consumeIntIfAbove(java.util.function.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)
-
-
-
Method Detail
-
recordKeyValueSizes
public static void recordKeyValueSizes(ServerHttpRequestStats stats, it.unimi.dsi.fastutil.ints.IntList keySizes, it.unimi.dsi.fastutil.ints.IntList valueSizes)
-
consumeIntIfAbove
public static void consumeIntIfAbove(java.util.function.IntConsumer consumer, int value, int threshold)
-
consumeDoubleIfAbove
public static void consumeDoubleIfAbove(java.util.function.DoubleConsumer consumer, double value, double threshold)
-
consumeDoubleAndBooleanIfAbove
public static void consumeDoubleAndBooleanIfAbove(DoubleAndBooleanConsumer consumer, double value, boolean b, double threshold)
-
-