Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>(    crudRepo: CRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: KeyValueRepo<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate),     idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Link copied to clipboard
open class FullKeyValueCacheRepo<Key, Value>(    kvRepo: KeyValueRepo<Key, Value>,     kvCache: KeyValueRepo<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate)) : FullReadKeyValueCacheRepo<Key, Value> , KeyValueRepo<Key, Value> , WriteKeyValueRepo<Key, Value>
Link copied to clipboard
open class FullKeyValuesCacheRepo<Key, Value>(    kvsRepo: KeyValuesRepo<Key, Value>,     kvCache: KeyValueRepo<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker(writeIsLocked = !skipStartInvalidate)) : FullReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value>
Link copied to clipboard
open class FullReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: KeyValueRepo<IdType, ObjectType>,     locker: SmartRWLocker = SmartRWLocker(),     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo
Link copied to clipboard
open class FullReadKeyValueCacheRepo<Key, Value>(    parentRepo: ReadKeyValueRepo<Key, Value>,     kvCache: KeyValueRepo<Key, Value>,     locker: SmartRWLocker = SmartRWLocker()) : ReadKeyValueRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullReadKeyValuesCacheRepo<Key, Value>(    parentRepo: ReadKeyValuesRepo<Key, Value>,     kvCache: KeyValueRepo<Key, List<Value>>,     locker: SmartRWLocker = SmartRWLocker()) : ReadKeyValuesRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullWriteKeyValueCacheRepo<Key, Value>(    parentRepo: WriteKeyValueRepo<Key, Value>,     kvCache: KeyValueRepo<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     locker: SmartRWLocker = SmartRWLocker()) : WriteKeyValueRepo<Key, Value> , FullCacheRepo
Link copied to clipboard
open class FullWriteKeyValuesCacheRepo<Key, Value>(    parentRepo: WriteKeyValuesRepo<Key, Value>,     kvCache: KeyValueRepo<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     locker: SmartRWLocker = SmartRWLocker()) : WriteKeyValuesRepo<Key, Value> , FullCacheRepo

Functions

Link copied to clipboard
fun <Key, Value> ReadKeyValueRepo<Key, Value>.cached(    kvCache: KeyValueRepo<Key, Value>,     locker: SmartRWLocker = SmartRWLocker()): FullReadKeyValueCacheRepo<Key, Value>
fun <Key, Value> ReadKeyValuesRepo<Key, Value>.cached(    kvCache: KeyValueRepo<Key, List<Value>>,     locker: SmartRWLocker = SmartRWLocker()): FullReadKeyValuesCacheRepo<Key, Value>
fun <ObjectType, IdType> ReadCRUDRepo<ObjectType, IdType>.cached(    kvCache: KeyValueRepo<IdType, ObjectType>,     locker: SmartRWLocker = SmartRWLocker(),     idGetter: (ObjectType) -> IdType): FullReadCRUDCacheRepo<ObjectType, IdType>
Link copied to clipboard
fun <Key, Value> WriteKeyValueRepo<Key, Value>.caching(    kvCache: KeyValueRepo<Key, Value>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): FullWriteKeyValueCacheRepo<Key, Value>
fun <Key, Value> WriteKeyValuesRepo<Key, Value>.caching(    kvCache: KeyValueRepo<Key, List<Value>>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     locker: SmartRWLocker = SmartRWLocker()): FullWriteKeyValuesCacheRepo<Key, Value>
Link copied to clipboard
fun <Key, Value> KeyValueRepo<Key, Value>.fullyCached(    kvCache: KeyValueRepo<Key, Value> = MapKeyValueRepo(),     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker()): FullKeyValueCacheRepo<Key, Value>
fun <Key, Value> KeyValuesRepo<Key, Value>.fullyCached(    kvCache: KeyValueRepo<Key, List<Value>> = MapKeyValueRepo(),     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker()): FullKeyValuesCacheRepo<Key, Value>
fun <ObjectType, IdType, InputType> CRUDRepo<ObjectType, IdType, InputType>.fullyCached(    kvCache: KeyValueRepo<IdType, ObjectType> = MapKeyValueRepo(),     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     skipStartInvalidate: Boolean = false,     locker: SmartRWLocker = SmartRWLocker(),     idGetter: (ObjectType) -> IdType): FullCRUDCacheRepo<ObjectType, IdType, InputType>