Key Value Cache Repo
open class KeyValueCacheRepo<Key, Value>( parentRepo: KeyValueRepo<Key, Value>, kvCache: KVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : ReadKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value> , CacheRepo
Content copied to clipboard
Constructors
Link copied to clipboard
fun <Key, Value> KeyValueCacheRepo( parentRepo: KeyValueRepo<Key, Value>, kvCache: KVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default))
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<Key>
Content copied to clipboard
open suspend override fun keys( v: Value, pagination: Pagination, reversed: Boolean): PaginationResult<Key>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<Value>
Content copied to clipboard