Methods
-
get<T, V extends Cache<T>>(String name)
→ V?
-
Gets an existing Cache
-
getCache<T>(String name)
→ Cache<T>?
-
Gets an existing Cache
-
getTieredCache<T>(String name)
→ TieredCache<T>?
-
Gets an existing TieredCache
-
newGenericCache<T>(Store<CacheInfo, CacheEntry> store, {String? name, dynamic fromEncodable(Map<String, dynamic>)?, ExpiryPolicy? expiryPolicy, KeySampler? sampler, EvictionPolicy? evictionPolicy, int? maxEntries, CacheLoader<T>? cacheLoader, Clock? clock, EventListenerMode? eventListenerMode, bool? statsEnabled, CacheStats? stats})
→ Future<Cache<T>>
-
Builds a new Cache
-
newTieredCache<T>(Cache<T> primary, Cache<T> secondary, {String? name, Clock? clock, bool? statsEnabled, CacheStats? stats})
→ TieredCache<T>
-
Builds a new Tiered Cache
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(String name)
→ void
-
Removes a Cache from this CacheManager if present
-
toString()
→ String
-
A string representation of this object.
inherited