stats method

  1. @override
Future<Iterable<CacheStat>> stats(
  1. String name
)
override

Returns a Iterable over all the CacheStore CacheStats for a named cache. It provides a optimized retrieval strategy that avoids reading the CacheEntry implementation into memory

  • name: The cache name

Implementation

@override
Future<Iterable<CacheStat>> stats(String name) =>
    Future.value(_cacheStore(name).values.map((value) => value.stat));