Durian::Cache::Record
Constructors
new(storage : Hash(String, Entry) = Hash(String, Entry).new, capacity : Int32 = 256, cleanInterval : Time::Span = 3600.seconds, recordExpires : Time::Span = 1800.seconds)
SourceInstance methods
[]=(domain, value : Entry)
Sourcecapacity
Sourceclean_expired?
SourcecleanAt
SourcecleanInterval
Sourceclear
Sourceempty?
Sourceexpired?(domain, flag : RecordFlag)
Sourcefull?
Sourceinactive_clean
SourcemaximumCleanup
Sourcemutex
SourcerecordExpires
Sourcerefresh_clean_at
Sourcesize
Sourcestorage
Source