CacheAside class final
Cache-aside (lazy loading): check cache first; on miss, load from source and populate the cache. This is the most common pattern.
Read path: Cache → on miss → Source → write to Cache → return
- Inheritance
-
- Object
- CachePolicy
- CacheAside
Constructors
- CacheAside({Duration? ttl})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited