struct LRUCache::Event

Overview

Event struct containing the key related to it's EventType

Defined in:

lru.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, event_type : LRUCache::EventType) #

[View source]

Instance Method Detail

def event_type : EventType #

The event type that got fired.


[View source]
def key : String #

The key of the item that was handled by the LRU cache.


[View source]