Expand description
L2 缓存子模块(二级缓存共享层)
业务层应通过 sz_rust_orm_facade::l2_cache::* 访问,
而非直接依赖 sz_orm_core::l2_cache。
Structs§
- Cache
Key - 统一缓存键
- InMemory
Backend - 进程内内存后端(默认实现)
- L2Cache
- L2 二级缓存 — 跨 Session 共享
- L2Cache
Stats - L2 缓存命中率统计
- Local
Invalidation Bus - 进程内失效总线(单实例用)
- PerTable
Stats - 按表分桶的命中率统计
- Redis
Backend - Redis 分布式缓存后端
- Write
Behind Writer - Write-Behind 写入器
Enums§
- Cache
KeyKind - 缓存键类型
- Invalidation
Message - 缓存失效消息
- WriteOp
- 写回操作类型
Traits§
- Invalidation
Bus - 缓存失效总线 trait
- L2Cache
Backend - L2 缓存后端 trait(分布式抽象)
Type Aliases§
- Error
Callback - 写回错误回调类型
- Flush
Callback - 写回刷新回调类型
- L2Cache
Future - L2 缓存异步 Future 类型别名