Clear all cached data
(&mut self)
| 140 | |
| 141 | /// Clear all cached data |
| 142 | pub fn clear(&mut self) { |
| 143 | self.schema_list = None; |
| 144 | self.schema_list_version = 0; |
| 145 | self.graphs_by_schema.clear(); |
| 146 | self.graphs_version = 0; |
| 147 | self.last_schema_access = None; |
| 148 | self.last_graph_access = None; |
| 149 | } |
| 150 | |
| 151 | /// Get cache statistics (for monitoring) |
| 152 | pub fn get_stats(&self) -> CatalogCacheStats { |
no outgoing calls
no test coverage detected