class

Lake(T)

Inherits Reference < Object

Constants

DEFAULT_CAPACITY = 24
DEFAULT_TTL = 1.5.seconds

Constructors

new(capacity : Int32 = DEFAULT_CAPACITY, ttl : Time::Span = DEFAULT_TTL, factory : Proc(T) = -> do T.new end)
Source

Instance methods

[](index)
Source
clear
Source
dip_sync
Source
first
Source
last
Source
leak
Source
size(*args, **options)
Source
size(*args, **options, &)
Source
ttl=(ttl : Time::Span)
Source