MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / get_stats

Method get_stats

graphlite/src/session/models.rs:152–159  ·  view source on GitHub ↗

Get cache statistics (for monitoring)

(&self)

Source from the content-addressed store, hash-verified

150
151 /// Get cache statistics (for monitoring)
152 pub fn get_stats(&self) -> CatalogCacheStats {
153 CatalogCacheStats {
154 schema_list_cached: self.schema_list.is_some(),
155 graph_schemas_cached: self.graphs_by_schema.len(),
156 last_schema_access: self.last_schema_access,
157 last_graph_access: self.last_graph_access,
158 }
159 }
160}
161
162impl Default for SessionCatalogCache {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected