标签:redis details sof target log ref tail ase redis集群
java对redis的读写
依赖包:jedis.jar
maven下:
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
</dependency>
spring 集成redis的详解:
redis集群模式:参考:Spring+SpringMVC做Redis集群(Sentinel模式)
需要再加上下面的依赖---
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>1.5.2.RELEASE</version>
</dependency>
标签:redis details sof target log ref tail ase redis集群
原文地址:https://www.cnblogs.com/yanliang12138/p/9682230.html