Caffeine 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
Caffeine 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
Caffeine 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 Apache
开发语言 Java 查看源码 »
操作系统 跨平台
软件类型 开源软件
所属分类 程序开发缓存系统
开源组织
地区 不详
投 递 者 王练
适用人群 未知
收录时间 2016-11-03

软件简介

Caffeine 是基于Java 8的高性能,接近最佳的缓存库。

Caffeine使用Google Guava启发的API提供内存缓存。 改进取决于您设计Guava缓存和ConcurrentLinkedHashMap的体验。

LoadingCache<Key, Graph> graphs = Caffeine.newBuilder()
    .maximumSize(10_000)
    .expireAfterWrite(5, TimeUnit.MINUTES)
    .refreshAfterWrite(1, TimeUnit.MINUTES)
    .build(key -> createExpensiveGraph(key));

功能一览

Caffeine提供了灵活的构造来创建具有以下功能组合的缓存:

展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论

点击加入讨论🔥(9) 发布并加入讨论🔥
发表了资讯
2018/02/22 15:38

Caffeine 2.6.2 发布,Java 8 的高性能缓存库

caffeine 2.6.2 已发布。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。更新内容: Cache Changed the default initialCapacity to match ConcurrentHashMap's from 0 to 16 (#218) Fixed variable expiration's duration calculation overflowing due to timestamp race (#217) Avoiding method handles due to memory leak caused by JDK-8174749 (#222) Promote using java.time.Duration instead of long, TimeUnit ...

0
6
发表了资讯
2017/12/28 10:40

caffeine 2.6.1 发布,Java 8 的高性能缓存库

caffeine 2.6.1 已发布。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。更新内容: 高速缓存 Fixed null value being propagated to callbacks on null result of a CompletableFuture (#206) Improved emulation of synchronous computations in AsyncLoadingCache asMap() view Added Automatic-Module-Name manifest entry for Java 9 modularity (#211) Significantly reduced the jar size due to code generation...

6
15
发表了资讯
2017/11/03 09:07

caffeine 2.6.0 发布,Java 8 的高性能缓存库

Caffeine 2.6.0 已发布。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。更新内容: Cache Added put methods to Policy.VarExpiration that specify the entry's expiration time (#163) Fixed early expiration due to long computations and a stale read of the time (#191) JCache Fixed cache not being created from the external configuration properly (#194) Passes 1.1 preview TCK except for backwards inc...

9
30
发表了资讯
2017/09/26 16:03

Caffeine 2.5.6 发布,Java 8 的高性能缓存库

Caffeine 2.5.6 已发布。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。 更新内容: Fixed invoke on an expired entry when a CacheLoader is used (#187) 下载地址: Source code (zip) Source code (tar.gz)

7
20
发表了资讯
2017/08/17 11:11

Caffeine 2.5.5 发布,Java 8 的高性能缓存库

Caffeine 2.5.5 已发布。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。 更新内容: Fixed null mappings in multi-get lookups caused by JDK-8186171 (#176) 下载地址: Source code (zip) Source code (tar.gz)

15
31
发表了资讯
2017/08/08 15:52

Caffeine 2.5.4 发布,Java 8 的高性能缓存库

Caffeine 2.5.4 发布了。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。 更新内容: Disallow subsequent refreshing of an entry when waiting for a slow reload (#175) 下载地址: Source code (zip) Source code (tar.gz)

3
26
发表了资讯
2017/07/11 11:49

caffeine 2.5.3 发布,Java 8 的高性能缓存库

caffeine 2.5.3 发布了。Caffeine 是基于 Java 8 的高性能,接近最佳的缓存库。 更新内容: Cache Fixed weak key held strongly by weak/soft value reference (#167) JCache Improved configuration layering rules (#171) 下载地址: Source code (zip) Source code (tar.gz)...

3
22
发表了资讯
2017/06/01 16:33

caffeine 2.5.2 发布,Java 8 的高性能缓存库

caffeine 2.5.2 发布了。Caffeine 是基于Java 8的高性能,接近最佳的缓存库。 更新内容: Fixed variable expiration with async cache (#159) 下载地址: Source code (zip) Source code (tar.gz)

0
25
发表了资讯
2017/05/11 15:15

caffeine 2.5.0 发布,Java 8 的高性能缓存库

Caffeine 2.5.0 发布了,Caffeine 是一个 Java 8 的高性能缓存库。 更新内容: Variable expiration support (#70, #75, #141) 下载地址: Source code (zip) Source code (tar.gz)

6
33
发表了资讯
2017/02/20 09:52

caffeine 2.4.0 发布,Java 8 的高性能缓存库

Caffeine 2.4.0 发布了,Caffeine 是一个 Java 8 的高性能缓存库。 更新内容: Fixed stale notification when eviction or clear raced with an update (SOLR-10141) Improved handling of duplicate keys in bulk get methods Enforced non-null future from async mapping functions Improved exception handling of asyncLoadAll() 下载地址: Source code (zip) Source code (tar.gz)...

7
20
发表了资讯
2016/11/08 09:09

caffeine 2.3.5 发布,Java 8的高性能缓存库

Caffeine 2.3.5 发布了,Caffeine 是一个 Java 8的高性能缓存库。 更新内容: 修复了由意外 OutOfMemoryError 引起的锁死 (#130) 下载地址: Source code (zip) Source code (tar.gz)

0
7
发表了资讯
2016/11/03 00:00

Caffeine 2.3.4 发布,Java 8的高性能缓存库

Caffeine 2.3.4 发布了,Caffeine 是一个 Java 8的高性能缓存库。 更新内容: Cache Fixed live-lock when write buffer grows to capacity (#127, JCTools/JCTools#135) Ensure back pressure task is executed last (#124) Improved hot/cold iteration order JCache Support null return value from CacheLoader (#119) 下载地址: Source code (zip) Source code (tar.gz)...

4
22
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
9 评论
215 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部