Springboot缓存与redis整合

Springboot缓存 Spring缓存抽象 重要概念以及缓存注解 Cache:缓存接口,定义缓存操作,实现又:RedisCache,EhCacheCache,ConcurrentMapCache等 CacheManager:缓存管理器,管理各种缓存组件 @Cacheable:修饰方法,能够根据方法的请求参数和返回结果进行缓存 @CacheEvict:修饰方法,清空缓存,例如从数据库删除某个用户
相关文章
相关标签/搜索