![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
code@fzk
这个作者很懒,什么都没留下…
展开
-
SpringBoot高级技术
SpringBoot高级技术 1、缓存 Spring缓存 缓存注解 作用 Cache 缓存接口,定义缓存操作。实现有:RedisCache、EhCacheCache、ConcurrentMapCache等 CacheManager 缓存管理器,管理各种缓存(Cache)组件 @EnableCaching 开启基于注解的缓存 @Cacheable 主要针对方法配置,能够根据方法的请求参数对其结果进行缓存 @CacheEvict 清空缓存 @CachePut 保证方法被调用原创 2020-07-15 14:12:12 · 234 阅读 · 0 评论 -
SpringBoot核心技术与简单使用
SpringBoot核心技术 文章目录SpringBoot核心技术1、使用Spring Initializer快速创建Spring Boot项目IDEA:使用 Spring Initializer快速创建项目2、配置文件配置文件YAML语法:1、基本语法2、值的写法字面量:普通的值(数字,字符串,布尔)对象、Map(属性和值)(键值对):数组(List、Set):配置文件值注入步骤(三步)@Val...原创 2020-04-10 16:08:37 · 310 阅读 · 0 评论