Class CacheMetricsRecorder


  • public class CacheMetricsRecorder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void record​(boolean result, java.lang.String name)
      record the result of cache
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheMetricsRecorder

        public CacheMetricsRecorder()
    • Method Detail

      • record

        public static void record​(boolean result,
                                  java.lang.String name)
        record the result of cache
        Parameters:
        result - whether hit
        name - the name of object that cached