struct Sepia::WeakCache::Stats

Overview

Cache statistics

Defined in:

sepia/weak_cache.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def cleanups : Int64 #

[View source]
def cleanups=(cleanups : Int64) #

[View source]
def dead_refs : Int32 #

[View source]
def dead_refs=(dead_refs : Int32) #

[View source]
def initialize #

[View source]
def size : Int32 #

[View source]
def size=(size : Int32) #

[View source]
def to_s : String #
Description copied from class Object

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.


[View source]
def total_added : Int64 #

[View source]
def total_added=(total_added : Int64) #

[View source]