[mem_cache] Replace is_chunk_cache / is_tree_cache with supports_prefix_sharing (#42362)

This commit is contained in:
Liangsheng Yin
2026-10-03 02:07:55 -07:00
committed by GitHub
parent 8293f9af54
commit 122b59152c
20 changed files with 48 additions and 48 deletions
+2 -5
View File
@@ -484,11 +484,8 @@ class TreeCacheNamespace(SimpleNamespace):
def supports_mamba(self) -> bool:
return False
def is_chunk_cache(self) -> bool:
return False
def is_tree_cache(self) -> bool:
return not self.is_chunk_cache()
def supports_prefix_sharing(self) -> bool:
return True
def evict(self, params: EvictParams):
pass