dextool v3.3.0 (2021-06-08T20:46:23Z)
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.