Cache

interface Cache<in K : Any, V : Any>

Functions

Link copied to clipboard
abstract suspend fun getOrCompute(key: K): V
Link copied to clipboard
abstract fun invalidate(key: K): V?
abstract fun invalidate(key: K, value: V): Boolean
Link copied to clipboard
abstract fun invalidateAll()
Link copied to clipboard
abstract fun peek(key: K): V?