code: def clear_all(self):
          
          self._lock.acquire()
          try:
              self._cache = {}
              self._updated = False
          finally:
              self._lock.release()
docs: Clears (resets) all counters.