(self, _distributed_cache_data=None)
| 17 | 扩展标准的DynamicCache,添加额外的元数据存储和查询功能 |
| 18 | """ |
| 19 | def __init__(self, _distributed_cache_data=None): |
| 20 | super().__init__(_distributed_cache_data) |
| 21 | self.cache_kwargs = {} |
| 22 | self.group_cache = {} |
| 23 | self.meta = {} |
| 24 | self.router_key_cache = [] |
| 25 | |
| 26 | def clear_kvcache(self): |
| 27 | self.key_cache = [] |