struct

Sepia::CacheManager::Stats

Inherits Struct < Value < Object

Cache statistics

Constructors

new(max_size : Int32)
Source

Instance methods

evictions
Source
evictions=(evictions : Int64)
Source
hit_rate
Source
hits
Source
hits=(hits : Int64)
Source
invalidations
Source
invalidations=(invalidations : Int64)
Source
max_size
Source
max_size=(max_size : Int32)
Source
misses
Source
misses=(misses : Int64)
Source
size
Source
size=(size : Int32)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source