toggle menu
micro_utils.dokka
0.20.8
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.repos.cache.cache
Package-level
declarations
Types
Functions
Types
KVCache
Link copied to clipboard
interface
KVCache
<
K
,
V
>
:
KeyValueRepo
<
K
,
V
>
Simple
KVCache
Link copied to clipboard
open
class
SimpleKVCache
<
K
,
V
>
(
cachedValuesCount
:
Int
,
kvParent
:
KeyValueRepo
<
K
,
V
>
=
MapKeyValueRepo<K, V>()
)
:
KVCache
<
K
,
V
>
,
KeyValueRepo
<
K
,
V
>
Functions
KVCache
Link copied to clipboard
inline
fun
<
K
,
V
>
KVCache
(
cachedValuesCount
:
Int
,
kvParent
:
KeyValueRepo
<
K
,
V
>
=
MapKeyValueRepo<K, V>()
)
:
SimpleKVCache
<
K
,
V
>