Return a snapshot list of all cached objects.
(self)
| 74 | # --- public read API --- |
| 75 | |
| 76 | def list(self): |
| 77 | """Return a snapshot list of all cached objects.""" |
| 78 | with self._rlock: |
| 79 | return list(self._objects.values()) |
| 80 | |
| 81 | def list_keys(self): |
| 82 | """Return a snapshot list of all cache keys.""" |