Interface CacheStatisticsSPI

    • Method Detail

      • newGet

        void newGet​(java.lang.Class<?> cls,
                    boolean hit)
        Record a new cache get.
        Parameters:
        cls - - The class describing the type that is contained in the cache.
        hit - - true for a cache hit, false otherwise
      • newPut

        void newPut​(java.lang.Class<?> cls)
        Record a new cache put.
        Parameters:
        cls - - The class describing the type that is contained in the cache.
      • enable

        void enable()
        Enable statistics collection.
      • disable

        void disable()
        Disable statistics collection.