Package-level declarations

Types

Link copied to clipboard

Repos-inheritors MUST realize their methods via next logic:

Link copied to clipboard
open class DirectFullCRUDCacheRepo<ObjectType, IdType, InputValueType>(parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: KeyValueRepo<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate), idGetter: (ObjectType) -> IdType) : DirectFullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Link copied to clipboard
open class DirectFullKeyValueCacheRepo<Key, Value>(parentRepo: KeyValueRepo<Key, Value>, kvCache: KeyValueRepo<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate)) : DirectFullReadKeyValueCacheRepo<Key, Value> , DirectFullCacheRepo, KeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Link copied to clipboard
open class DirectFullKeyValuesCacheRepo<Key, Value>(parentRepo: KeyValuesRepo<Key, Value>, kvCache: KeyValueRepo<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate)) : DirectFullReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Link copied to clipboard
open class DirectFullWriteKeyValueCacheRepo<Key, Value>(parentRepo: WriteKeyValueRepo<Key, Value>, kvCache: KeyValueRepo<Key, Value>, locker: SmartRWLocker = SmartRWLocker(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : DirectFullCacheRepo, WriteKeyValueRepo<Key, Value>
Link copied to clipboard
open class DirectFullWriteKeyValuesCacheRepo<Key, Value>(parentRepo: WriteKeyValuesRepo<Key, Value>, kvCache: KeyValueRepo<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), locker: SmartRWLocker = SmartRWLocker()) : WriteKeyValuesRepo<Key, Value> , DirectFullCacheRepo

Functions

Link copied to clipboard
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.directFullyCached(kvCache: KeyValueRepo<IdType, ObjectType> = MapKeyValueRepo(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker(), idGetter: (ObjectType) -> IdType): DirectFullCRUDCacheRepo<ObjectType, IdType, InputType>
Link copied to clipboard
fun <Key, Value> WriteKeyValueRepo<Key, Value>.directlyCached(kvCache: KeyValueRepo<Key, Value>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): DirectFullWriteKeyValueCacheRepo<Key, Value>
fun <Key, Value> WriteKeyValuesRepo<Key, Value>.directlyCached(kvCache: KeyValueRepo<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), locker: SmartRWLocker = SmartRWLocker()): DirectFullWriteKeyValuesCacheRepo<Key, Value>
Link copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.directlyFullyCached(kvCache: KeyValueRepo<Key, Value> = MapKeyValueRepo(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker()): DirectFullKeyValueCacheRepo<Key, Value>
fun <Key, Value> KeyValuesRepo<Key, Value>.directlyFullyCached(kvCache: KeyValueRepo<Key, List<Value>> = MapKeyValueRepo(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default), skipStartInvalidate: Boolean = false, locker: SmartRWLocker = SmartRWLocker()): DirectFullKeyValuesCacheRepo<Key, Value>