struct CQL::Performance::PerformanceMetrics::CacheMetrics

Overview

Cache performance metrics

Defined in:

performance/performance_metrics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cache_hits : Int64, cache_misses : Int64, cache_size : Int32, max_cache_size : Int32, hit_rate : Float64, miss_rate : Float64, evictions : Int64) #

[View source]

Instance Method Detail

def cache_hits : Int64 #

[View source]
def cache_misses : Int64 #

[View source]
def cache_size : Int32 #

[View source]
def evictions : Int64 #

[View source]
def hit_rate : Float64 #

[View source]
def max_cache_size : Int32 #

[View source]
def miss_rate : Float64 #

[View source]
def to_h : Hash(String, JSON::Any) #

[View source]