Class StatisticsExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Double hitRatePercent(CacheStats $self) Returns the hit rate as a percentage.
      final static Double missRatePercent(CacheStats $self) Returns the miss rate as a percentage.
      final static Double averageLoadTimeMillis(CacheStats $self) Returns the average load time in milliseconds.
      final static String formatted(CacheStats $self) Returns a formatted string representation of the cache statistics.
      final static <K extends Any, V extends Any> String statsString(Cache<K, V> $self) Returns a formatted string with cache statistics.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • hitRatePercent

         final static Double hitRatePercent(CacheStats $self)

        Returns the hit rate as a percentage.

      • missRatePercent

         final static Double missRatePercent(CacheStats $self)

        Returns the miss rate as a percentage.

      • formatted

         final static String formatted(CacheStats $self)

        Returns a formatted string representation of the cache statistics.

      • statsString

         final static <K extends Any, V extends Any> String statsString(Cache<K, V> $self)

        Returns a formatted string with cache statistics.