getCacheStats method
Gets cache statistics for monitoring and debugging.
Implementation
Map<String, int> getCacheStats() {
return {
'relationship_queries': _relationshipQueryCache.length,
'entity_existence': _entityExistenceCache.length,
'queries': _queryCache.length,
};
}