Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>(parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: FullKVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Link copied to clipboard
open class FullKeyValueCacheRepo<Key, Value>(parentRepo: KeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false) : FullWriteKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value>
Link copied to clipboard
open class FullKeyValuesCacheRepo<Key, Value>(parentRepo: KeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false) : FullWriteKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value>
Link copied to clipboard
open class FullReadCRUDCacheRepo<ObjectType, IdType>(parentRepo: ReadCRUDRepo<ObjectType, IdType>, kvCache: FullKVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo
Link copied to clipboard
open class FullReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>) : ReadKeyValueRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullWriteKeyValueCacheRepo<Key, Value>(parentRepo: WriteKeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValueRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullWriteKeyValuesCacheRepo<Key, Value>(parentRepo: WriteKeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValuesRepo<Key, Value> , FullCacheRepo
Functions
Link copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>): FullReadKeyValueCacheRepo<Key, Value>
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(kvCache: FullKVCache<Key, List<Value>>): FullReadKeyValuesCacheRepo<Key, Value>
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(kvCache: FullKVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType): FullReadCRUDCacheRepo<ObjectType, IdType>
Link copied to clipboard
fun <Key, Value> WriteKeyValueRepo<Key, Value>.caching(kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullWriteKeyValueCacheRepo<Key, Value>
fun <Key, Value> WriteKeyValuesRepo<Key, Value>.caching(kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullWriteKeyValuesCacheRepo<Key, Value>
Link copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.fullyCached(kvCache: FullKVCache<Key, Value> = FullKVCache(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValueCacheRepo<Key, Value>
fun <Key, Value> KeyValuesRepo<Key, Value>.fullyCached(kvCache: FullKVCache<Key, List<Value>> = FullKVCache(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValuesCacheRepo<Key, Value>
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.fullyCached(kvCache: FullKVCache<IdType, ObjectType> = FullKVCache(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>