purge method
Purge all pools
@param now - current time
Implementation
int purge(double? now) {
now ??= Time.currentTimestamp;
int count = 0;
CachePool? pool;
Iterable allKeys = _poolMap.keys;
for (var key in allKeys) {
pool = _poolMap[key];
if (pool != null) {
count += pool.purge(now: now);
}
}
return count;
}