为什么 Spring 框架不赞成使用 Guava 缓存?
Why did Spring framework deprecate the use of Guava cache?
我想将 spring-cache 与 guava 缓存一起使用,但我发现 guava 缓存已被 spring 官方标记为已弃用 document.I 想知道为什么,他们没有给一些解释。
Spring 项目决定支持切换到 Caffeine 缓存。
咖啡因取代
Google Guava 库中的缓存支持,并积极维护
Java 独立形式的 8+ 版本。
您可以在此处找到与 Spring 的跟踪器决定相关的问题:https://jira.spring.io/browse/SPR-13797
spring 框架 github 回购中的相关提交是:https://github.com/spring-projects/spring-framework/commit/2bf9bc312ed1721b5978f88861c29cffc9ea407c
我想将 spring-cache 与 guava 缓存一起使用,但我发现 guava 缓存已被 spring 官方标记为已弃用 document.I 想知道为什么,他们没有给一些解释。
Spring 项目决定支持切换到 Caffeine 缓存。
咖啡因取代 Google Guava 库中的缓存支持,并积极维护 Java 独立形式的 8+ 版本。
您可以在此处找到与 Spring 的跟踪器决定相关的问题:https://jira.spring.io/browse/SPR-13797
spring 框架 github 回购中的相关提交是:https://github.com/spring-projects/spring-framework/commit/2bf9bc312ed1721b5978f88861c29cffc9ea407c