How many misses has the cache had?
(self)
| 404 | return self.statistics.hits |
| 405 | |
| 406 | def misses(self) -> int: |
| 407 | """How many misses has the cache had?""" |
| 408 | with self.lock: |
| 409 | return self.statistics.misses |
| 410 | |
| 411 | def get_statistics_snapshot(self) -> CacheStatistics: |
| 412 | """Return a consistent snapshot of all the statistics. |
no outgoing calls