ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
Spring 从 3.1 开始定义了 org.springframework.cache.Cache 和org.springframework.cache.CacheManager 接口来统一不同的缓存技术,并支持使用 JCache(JSR-107)注解简化我们开发。 ![](https://img.kancloud.cn/88/85/8885113a92f9f2270a145ac3e860052e_1387x361.png) ![](https://img.kancloud.cn/c4/63/c463ce8a29434da74d4f3769f9430020_1336x454.png) * Cache 接口定义缓存组件规范,包含缓存的各种操作集合。 * CacheManager 管理各种缓存(Cache)组件。 **** 本节代码:https://gitee.com/flymini/codes01/tree/master/springboot_/com-learn-cache01