FanoutCache.clear()
Remove every entry that existed when the call started, from every shard.
Usage
FanoutCache.clear(
*,
timeout=None,
retry=False,
)Every shard’s starting point is taken before anything is removed, so writes that land while it runs, on any shard, are kept, as on Cache.clear.
Parameters
Returns
int- How many entries were removed.
Raises
Timeout-
As for expire, with
removedandfailed_shards.