CacheBuilder<T extends Store<CacheInfo, CacheEntry> > typedef
CacheBuilder<T extends Store<CacheInfo, CacheEntry> > =
GenericCache Function(T store, {CacheLoader cacheLoader, Clock clock, EvictionPolicy evictionPolicy, ExpiryPolicy expiryPolicy, int maxEntries, String name, KeySampler sampler})
Cache builder function
Implementation
typedef CacheBuilder<T extends Store<CacheInfo, CacheEntry>>
= GenericCache Function(T store,
{String name,
ExpiryPolicy expiryPolicy,
KeySampler sampler,
EvictionPolicy evictionPolicy,
int maxEntries,
CacheLoader cacheLoader,
Clock clock});