Class ResponseStatsUtil


  • public class ResponseStatsUtil
    extends java.lang.Object
    • Constructor Detail

      • ResponseStatsUtil

        public ResponseStatsUtil()
    • 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)