AtomicMemoizationCache

value class AtomicMemoizationCache<K, V>(cache: Atomic<Map<K, V>> = Atomic(emptyMap())) : MemoizationCache<K, V> (source)

Constructors

Link copied to clipboard
constructor(cache: Atomic<Map<K, V>> = Atomic(emptyMap()))

Functions

Link copied to clipboard
open override fun get(key: K): V?
Link copied to clipboard
open override fun set(key: K, value: V): V