J2Cache 2.3.13 发布,增加对 Spring Boot 2 的支持

栏目: 软件资讯 · 发布时间: 7年前

内容简介:J2Cache 2.3.13 发布了,该版本最值得关注的是增加对 Spring Boot 2 的支持。 完整改进记录包括: 支持通过 j2cache.sync_ttl_to_redis 配置项来决定是否 Redis 缓存的数据也带 ttl 信息(相当于该配置如果设置...

J2Cache 2.3.13 发布了,该版本最值得关注的是增加对 Spring Boot 2 的支持。

完整改进记录包括:

  • 支持通过 j2cache.sync_ttl_to_redis 配置项来决定是否 Redis 缓存的数据也带 ttl 信息(相当于该配置如果设置为 false 时,redis 上的数据不会自动过期,该配置值默认为 true)

  • 增加 Spring Boot 2.0 的支持模块

  • CacheChannel 增加 check 方法,用来检测 key 存在哪一级缓存

Maven:

<dependency>
    <groupId>net.oschina.j2cache</groupId>
    <artifactId>j2cache-core</artifactId>
    <version>2.3.13-release</version>
</dependency>

Spring Boot 2 支持:

<dependency>
    <groupId>net.oschina.j2cache</groupId>
    <artifactId>j2cache-spring-boot2-starter</artifactId>
    <version>2.3.13-release</version>
</dependency>

【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Algorithms in C (Computer Science Series)

Algorithms in C (Computer Science Series)

Robert Sedgewick / Addison-Wesley Professional / 1990-01-11 / USD 59.99

This new version of the best-selling book, Algorithms, SecondEdition, provides a comprehensive collection of algorithmsimplemented in C. A variety of algorithms are described in eachofthe following ar......一起来看看 《Algorithms in C (Computer Science Series)》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具