spring缓存使用

Spring缓存默认使用 ConcurrentMapCacheManager创建的ConcurrentMapCache缓存,将数据保存在ConcurrentHashMap中 缓存注解有: 注解 描述 Cache 缓存接口,定义缓存操作,实现有RedisCache、EhCache、ConcurrentMapCache等 CacheManager 缓存管理器,管理各种缓存组件 @Cacheable 先
相关文章
相关标签/搜索