
springboot缓存
Rm-r
学习的路需要自己走,在走的过程中留下自己的足迹。
展开
-
springboot使用缓存cache
springboot使用缓存cache 1.引入jar包 <!-- Springboot中开启缓存 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</arti...原创 2018-11-24 09:41:00 · 235 阅读 · 0 评论 -
使用guava cache实现List的删改查。
在进行了几天的查阅资料之后,决定使用guava 来实现List的操作。 直接上代码。 1、首先,我们实现了一个guava 的工具类,在后面使用时,直接调用即可。 package com.learning.www.utils; import java.util.ArrayList; import java.util.Collection; import java.util.List; im...原创 2018-12-03 11:52:38 · 3138 阅读 · 0 评论 -
springboot中各个版本的redis配置问题
今天在springboot中使用数据库,springboot版本为2.0.2.RELEASE,通过pom引入jar包,配置文件application.properties中的redis配置文件报错,提示例如deprecated configuration property 'spring.redis.pool.max-active',猜想应该是版本不对,发现springboot在1.4前后集成re...转载 2019-03-25 16:37:57 · 508 阅读 · 0 评论