struct

Azu::PerformanceMetrics::CacheMetric

Inherits JSON::Serializable < Struct < Value < Object

Cache operation metrics

Constructors

new(key : String, operation : String, store_type : String, processing_time : Float64, timestamp : Time, hit : Bool | Nil = nil, key_size : Int32 = 0, value_size : Int32 | Nil = nil, ttl : Time::Span | Nil = nil, error : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

error
Source
hit?
Source
key_size
Source
miss?
Source
operation
Source
processing_time
Source
store_type
Source
successful?
Source
timestamp
Source
ttl_seconds
Source
value_size
Source