![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
缓存
herionZhang
这个作者很懒,什么都没留下…
展开
-
spring boot 中缓存使用 @Cacheable redis缓存不生效的
@Cacheable 注解在对象内部调用不会生效 代码示例: ProductServiceImpl.java public List<ProductInfoVO> getProductList(CommonRequest<ProductInfoDTO> reqest) { // @Cacheable失效,不会走缓存的 return this.findPr...原创 2019-01-15 09:51:11 · 10550 阅读 · 1 评论 -
使用 @Cacheable java.lang.NullPointerException: null
@Cacheable java.lang.NullPointerException: null at java.lang.String.concat(String.java:2027) 异常信息 java.lang.NullPointerException: null at java.lang.String.concat(String.java:2027) at sun.reflect.Nat...原创 2019-01-25 13:55:54 · 2377 阅读 · 0 评论 -
Spring Data Redis 2.1中的新功能(Spring Data Redis 功能更新日志)
https://docs.spring.io/spring-data/redis/docs/2.1.0.RELEASE/reference/html/#redis:connectors:lettuce 1.1. New in Spring Data Redis 2.1 Unix domain socket connections using Lettuce. Write to Master, re...原创 2019-05-16 11:28:25 · 1432 阅读 · 0 评论