spring boot cache redis 简单理解自定义 KeyGenerator

简单理解自定义 KeyGeneratorredis 通常状况咱们在 spring boot 中会使用 redis 做为缓存 但咱们是须要自定义 cache key 的生成方式 1.为何不使用 spring 默认的 生成策略? 先看看源码:spring public class DefaultKeyGenerator implements KeyGenerator { public
相关文章
相关标签/搜索