SpringDataRedis依赖

Posted lijun6

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringDataRedis依赖相关的知识,希望对你有一定的参考价值。

<dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.9</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>4.2.4.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>4.2.4.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>4.2.4.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>4.2.4.RELEASE</version>
        </dependency>
        <!-- 缓存 -->
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>2.8.1</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>1.7.2.RELEASE</version>
        </dependency>
    </dependencies>

以上是关于SpringDataRedis依赖的主要内容,如果未能解决你的问题,请参考以下文章

springDataRedis的小demo

SpringDataRedis

SpringDataRedis操作Redis简单案例

使用SpringDataRedis设置key的过期时间

springdataRedis连接redis集群

SpringDataRedis序列化带有双引号