MetaMantleCacheStore class abstract interface

Abstract cache store contract for MetaMantle SSR.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → Future<void>
Clears the entire cache store.
delete(String key) → Future<void>
Deletes a cache entry by key.
deleteByTag(String tag) → Future<void>
Invalidates and removes all cache entries tagged with tag.
deleteByTags(List<String> tags) → Future<void>
Invalidates and removes all entries matching any of tags.
get(String key, {bool allowStale = false}) → Future<CacheEntry?>
Retrieves a cache entry by key. If allowStale is true, returns entries within the Stale-While-Revalidate or Stale-If-Error windows.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, CacheEntry entry) → Future<void>
Stores or updates an entry by key.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited