SpringBoot缓存管理

前言redis Spring Cache 是 Spring 3 版本以后引入的一项技术,能够简化对于缓存层的操做,spring cache与springcloud stream相似,都是基于抽象层,能够任意切换其实现。其核心是CacheManager、Cache这两个接口,全部由spring整合的cache都要实现这两个接口、Redis的实现类则是 RedisCache 和 RedisManage
相关文章
相关标签/搜索