How many hits has the cache had?
(self)
| 399 | self.statistics.reset() |
| 400 | |
| 401 | def hits(self) -> int: |
| 402 | """How many hits has the cache had?""" |
| 403 | with self.lock: |
| 404 | return self.statistics.hits |
| 405 | |
| 406 | def misses(self) -> int: |
| 407 | """How many misses has the cache had?""" |
no outgoing calls