class

LavinMQ::Deduplication::MemoryCache(T)

Inherits LavinMQ::Deduplication::Cache < Reference < Object

Constructors

new(size : UInt32 | Nil = nil)
Source

Instance methods

contains?(key : T) : Bool
Source
insert(key : T, ttl : UInt32 | Nil = nil)
Source