dextool v5.0.0 (2022-12-09T08:28:15Z)
Dub
Repo
Cache2Q.put
cachetools
cache2q
Cache2Q
Put element to cache.
Evict something if we have to.
class
Cache2Q
(K, V, Allocator = Mallocator)
final
PutResult
put
(
K
k
,
V
v
,
TTL
ttl
=
TTL
()
)
out { assert (__result != PutResult(PutResultFlag.None)); }
Meta
Source
See Implementation
cachetools
cache2q
Cache2Q
constructors
this
functions
cacheEvents
clear
enableCacheEvents
get
length
put
remove
size
sizeIn
sizeMain
sizeOut
ttl
structs
CacheEventRange
Put element to cache.
Evict something if we have to.