Write Map Key Value Repo
MutableMap-based WriteKeyValueRepo. All internal operations will be locked with locker (mostly with SmartRWLocker.withWriteLock)
Warning: It is not recommended to use constructor with both MutableMap and SmartRWLocker. Besides, in case you are using your own MutableMap as a map you should be careful with operations on this map
Properties
This flow must emit data each time when data by Key has been removed with unset/unsetWithValues methods or in any other way
Functions
List overload of WriteKeyValueRepo.set accepting a list of pairs.
Vararg overload of WriteKeyValueRepo.set accepting pairs.
Single-entry overload of WriteKeyValueRepo.set.
Vararg overload of WriteKeyValueRepo.unset.
Will unset as batch data with values from toUnset. Must pass the Keys which were successfully removed in repo to onValueRemoved
Vararg overload of WriteKeyValueRepo.unsetWithValues.
Wraps this WriteKeyValueRepo with a MapperRepo to expose a mapped WriteKeyValueRepo.
Wraps this WriteKeyValueRepo with inline conversion lambdas to expose a mapped WriteKeyValueRepo.