Package dev. inmo. micro_utils. repos. cache
Types
CRUDCache Repo
Link copied to clipboard
open class CRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : ReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
open class CRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : ReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
open class CRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : ReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Key Value Cache Repo
Link copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
Key Values Cache Repo
Link copied to clipboard
open class KeyValuesCacheRepo<Key, Value>( parentRepo: KeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : ReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
open class KeyValuesCacheRepo<Key, Value>( parentRepo: KeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : ReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
open class KeyValuesCacheRepo<Key, Value>( parentRepo: KeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : ReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Content copied to clipboard
Read CRUDCache Repo
Link copied to clipboard
open class ReadCRUDCacheRepo<ObjectType, IdType>( parentRepo: ReadCRUDRepo<ObjectType, IdType>, kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
open class ReadCRUDCacheRepo<ObjectType, IdType>( parentRepo: ReadCRUDRepo<ObjectType, IdType>, kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
open class ReadCRUDCacheRepo<ObjectType, IdType>( parentRepo: ReadCRUDRepo<ObjectType, IdType>, kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType>
Content copied to clipboard
Read Key Value Cache Repo
Link copied to clipboard
open class ReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: KVCache<Key, Value>) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
open class ReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: KVCache<Key, Value>) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
open class ReadKeyValueCacheRepo<Key, Value>(parentRepo: ReadKeyValueRepo<Key, Value>, kvCache: KVCache<Key, Value>) : ReadKeyValueRepo<Key, Value>
Content copied to clipboard
Read Key Values Cache Repo
Link copied to clipboard
open class ReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
open class ReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
open class ReadKeyValuesCacheRepo<Key, Value>(parentRepo: ReadKeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>) : ReadKeyValuesRepo<Key, Value>
Content copied to clipboard
Write CRUDCache Repo
Link copied to clipboard
open class WriteCRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
open class WriteCRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
open class WriteCRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Functions
cached
Link copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>): ReadKeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>): ReadKeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType): ReadCRUDCacheRepo<ObjectType, IdType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): CRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>): ReadKeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>): ReadKeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType): ReadCRUDCacheRepo<ObjectType, IdType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): CRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>): ReadKeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>): ReadKeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.cached(kvCache: KVCache<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValueCacheRepo<Key, Value>
Content copied to clipboard
fun <Key, Value> KeyValuesRepo<Key, Value>.cached(kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): KeyValuesCacheRepo<Key, Value>
Content copied to clipboard
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType): ReadCRUDCacheRepo<ObjectType, IdType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.cached( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): CRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
caching
Link copied to clipboard
fun <ObjectType, IdType, InputType> WriteCRUDRepo<ObjectType, IdType, InputType>.caching( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): WriteCRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> WriteCRUDRepo<ObjectType, IdType, InputType>.caching( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): WriteCRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard
fun <ObjectType, IdType, InputType> WriteCRUDRepo<ObjectType, IdType, InputType>.caching( kvCache: KVCache<IdType, ObjectType>, scope: CoroutineScope, idGetter: (ObjectType) -> IdType): WriteCRUDCacheRepo<ObjectType, IdType, InputType>
Content copied to clipboard