Class StatisticsExtensionsKt
-
- All Implemented Interfaces:
public final class StatisticsExtensionsKt
-
-
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. -
-
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.
-
averageLoadTimeMillis
final static Double averageLoadTimeMillis(CacheStats $self)
Returns the average load time in milliseconds.
-
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.
-
-
-
-