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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
error
Sourcehit
Sourcehit?
Sourcekey
Sourcekey_size
Sourcemiss?
Sourceoperation
Sourceprocessing_time
Sourcestore_type
Sourcesuccessful?
Sourcetimestamp
Sourcettl
Sourcettl_seconds
Sourcevalue_size
Source