Package dev.inmo.micro_utils.repos.cache.full

Types

FullCacheRepo
Link copied to clipboard
interface FullCacheRepo : CacheRepo
interface FullCacheRepo : CacheRepo
interface FullCacheRepo : CacheRepo
FullCRUDCacheRepo
Link copied to clipboard
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>(    parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>(    parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>(    parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
FullKeyValueCacheRepo
Link copied to clipboard
open class FullKeyValueCacheRepo<Key, Value>(    parentRepo: KeyValueRepo<Key, Value>,     kvCache: FullKVCache<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value>
open class FullKeyValueCacheRepo<Key, Value>(    parentRepo: KeyValueRepo<Key, Value>,     kvCache: FullKVCache<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value>
open class FullKeyValueCacheRepo<Key, Value>(    parentRepo: KeyValueRepo<Key, Value>,     kvCache: FullKVCache<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , ReadKeyValueRepo<Key, Value>
FullKeyValuesCacheRepo
Link copied to clipboard
open class FullKeyValuesCacheRepo<Key, Value>(    parentRepo: KeyValuesRepo<Key, Value>,     kvCache: FullKVCache<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value>
open class FullKeyValuesCacheRepo<Key, Value>(    parentRepo: KeyValuesRepo<Key, Value>,     kvCache: FullKVCache<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value>
open class FullKeyValuesCacheRepo<Key, Value>(    parentRepo: KeyValuesRepo<Key, Value>,     kvCache: FullKVCache<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : FullWriteKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , ReadKeyValuesRepo<Key, Value>
FullReadCRUDCacheRepo
Link copied to clipboard
open class FullReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: FullKVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo
open class FullReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: FullKVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo
open class FullReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: FullKVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo
FullReadKeyValueCacheRepo
Link copied to clipboard
open class FullReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>) : ReadKeyValueRepo<Key, Value> , FullCacheRepo
open class FullReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>) : ReadKeyValueRepo<Key, Value> , FullCacheRepo
open class FullReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: FullKVCache<Key, Value>) : ReadKeyValueRepo<Key, Value> , FullCacheRepo
FullReadKeyValuesCacheRepo
Link copied to clipboard
open class FullReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value> , FullCacheRepo
open class FullReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value> , FullCacheRepo
open class FullReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: FullKVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value> , FullCacheRepo
FullWriteKeyValueCacheRepo
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
open class FullWriteKeyValueCacheRepo<Key, Value>(    parentRepo: WriteKeyValueRepo<Key, Value>,     kvCache: FullKVCache<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValueRepo<Key, Value> , FullCacheRepo
open class FullWriteKeyValueCacheRepo<Key, Value>(    parentRepo: WriteKeyValueRepo<Key, Value>,     kvCache: FullKVCache<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValueRepo<Key, Value> , FullCacheRepo
FullWriteKeyValuesCacheRepo
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
open class FullWriteKeyValuesCacheRepo<Key, Value>(    parentRepo: WriteKeyValuesRepo<Key, Value>,     kvCache: FullKVCache<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValuesRepo<Key, Value> , FullCacheRepo
open class FullWriteKeyValuesCacheRepo<Key, Value>(    parentRepo: WriteKeyValuesRepo<Key, Value>,     kvCache: FullKVCache<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : WriteKeyValuesRepo<Key, Value> , FullCacheRepo

Functions

cached
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 <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValueCacheRepo<Key, Value>
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached(    kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>
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 <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValueCacheRepo<Key, Value>
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached(    kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>
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 <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: FullKVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValueCacheRepo<Key, Value>
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached(    kvCache: FullKVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>
caching
Link copied to clipboard
fun <Key, Value> KeyValuesRepo<Key, Value>.caching(kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValuesCacheRepo<Key, Value>
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>
fun <Key, Value> KeyValuesRepo<Key, Value>.caching(kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValuesCacheRepo<Key, Value>
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>
fun <Key, Value> KeyValuesRepo<Key, Value>.caching(kvCache: FullKVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullKeyValuesCacheRepo<Key, Value>
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>