MapOfCachesExtension<K, V, C extends Record, M extends Map<K, V>> extension
Methods
-
equivalentCaches(C context)
→ Iterable<M>
-
-
getCache(C context, M cacheInstantiator())
→ M
-
-
getIfCached(K key, C context, M cacheInstantiator())
→ V?
-
-
getMultiCached(K key, C context, M cacheInstantiator(), V computer())
→ V
-
-
getMultiCachedAsync(K key, C context, M cacheInstantiator(), FutureOr<V> computer())
→ FutureOr<V>
-
-
getMultiCachedAsyncNullable(K key, C context, M cacheInstantiator(), FutureOr<V?> computer())
→ FutureOr<V?>
-
-
getMultiCachedNullable(K key, C context, M cacheInstantiator(), V? computer())
→ V?
-
-
isEquivalentContext(C context1, C context2)
→ bool
-
-
populateMultiCache(K key, C context, M cacheInstantiator(), V value)
→ void
-