• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Repo Added 15 Dec 2014 11:20PM UTC
Files 78
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v3.dev
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 05a040c2478341bab8a58a02b3dc1fe14d626d72
  • 2.5.6
  • Gil
  • adaptive
  • async-loader
  • ben/issue30
  • ben/spacing
  • buffer
  • cache2k
  • clockpro
  • codeql
  • dependabot/github_actions/JetBrains/qodana-action-2023.1.4
  • dependabot/github_actions/JetBrains/qodana-action-61b94e7e3a716dcb9e2030cfd79cd46149d56c26
  • dependabot/github_actions/codecov/codecov-action-3.1.3
  • dependabot/github_actions/github/codeql-action-2.3.4
  • dependabot/gradle/com.gradle.common-custom-user-data-gradle-plugin-1.9
  • dependabot/gradle/com.gradle.enterprise-3.14
  • dependabot/gradle/de.thetaphi-forbiddenapis-3.6
  • dependabot/gradle/pmd-7.0.0-rc4
  • expiring_map
  • expiry
  • gil
  • gilga
  • gradient
  • guava
  • jctools
  • juherr
  • master
  • memory
  • orm
  • penalties
  • solr
  • testng
  • tmp
  • travis
  • v1.0
  • v1.0.1
  • v1.1.0
  • v1.2.0
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • v2.1.0
  • v2.2.0
  • v2.2.2
  • v2.2.4
  • v2.3.2
  • v2.3.4
  • v2.5.2
  • v2.5.3
  • v2.5.4
  • v2.5.5
  • v2.6.1
  • v2.7.0
  • v2.8.0
  • v2.8.1
  • v2.8.2
  • v2.8.3
  • v2.8.4
  • v2.8.5
  • v2.dev
  • v3.0.5
  • v3.0.6
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.1.4
  • v3.1.5
  • v3.1.6
  • v3.1.7
  • v3.1.8
  • v3.dev

23 Feb 2026 04:50AM UTC coverage: 99.937% (-0.03%) from 99.962%
#5321

push

github

ben-manes
fix minor expiration edge cases

1. The calculated remaining duration was incorrect in the
Policy.CacheEntry snapshot by giving a higher value. The mapping will
expire at the correct time.
2. Map.entrySet().contains(entry) now returns false if the entry is
present but has expired and is pending eviction.
3. JCache's Duration.ETERNAL returns a null TimeUnit. Previously this
caused the cache to log a failure when updating Caffeine's metadata,
though the eternal would be honored as set correctly on the adapter's
wrapped value.
4. JCache's expiry time now ensures that the sentinel flags, 0 and
Long.MAX_VALUE, are avoided in wrap around calculations due to
System.nanoTime() being randomized. In these cases the duration is
adjusted to occur up to 1ms sooner.

3838 of 3850 branches covered (99.69%)

19 of 21 new or added lines in 2 files covered. (90.48%)

7883 of 7888 relevant lines covered (99.94%)

1.0 hits per line

Relevant lines Covered
Build:
Build:
7888 RELEVANT LINES 7883 COVERED LINES
1.0 HITS PER LINE
Source Files on master
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#5321 v3.dev fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 05:33AM UTC ben-manes github
99.94
#5320 master fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 05:08AM UTC ben-manes github
99.94
#5319 master fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 04:46AM UTC ben-manes github
99.94
#5318 v3.dev fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 04:19AM UTC ben-manes github
99.94
#5317 v3.dev fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 03:35AM UTC ben-manes github
99.94
#5316 v3.dev fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 03:19AM UTC ben-manes github
99.94
#5315 v3.dev fix minor expiration edge cases 1. The calculated remaining duration was incorrect in the Policy.CacheEntry snapshot by giving a higher value. The mapping will expire at the correct time. 2. Map.entrySet().contains(entry) now returns false if the... push 23 Feb 2026 03:01AM UTC ben-manes github
99.94
#5314 v3.dev fix putIfAbsent calculating the read expiry from the offered new value When the value is present in the cache the offered new value for insert is ignored and the current value is returned. If using expireAfter then Expiry's expireAfterRead(..) is... push 22 Feb 2026 08:03AM UTC ben-manes github
99.96
#5313 master add qlty static analyzer push 22 Feb 2026 06:54AM UTC ben-manes github
99.96
#5312 master add qlty static analyzer push 22 Feb 2026 05:54AM UTC ben-manes github
99.96
See All Builds (4344)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc