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

ben-manes / caffeine / 2069
100%

Build:
DEFAULT BRANCH: master
Ran 29 May 2017 12:23AM UTC
Jobs 1
Files 67
Run time 3s
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

pending completion
2069

push

travis-ci

ben-manes
Fix variable expiration with async cache (fixes #159)

An in-flight future was mistakenly given the maximum expiry allowed,
causing it to not honor an expire-after-create setting. Instead it was
supposed to be beyond the maximum to signal adaption on the completion
update.

The calculations for fixed expiration was made more robust to the time
rolling over. This now complies with System.nanoTime() warnings.

Strengthened the remove and replace operations to be more predictably
linearizable. This removed optimizations to avoid unnecessary work by
checking if the entry was present in a lock-free manner. Since the hash
table supresses loads until complete, that might mean that a call to
remove a loading entry was not performed. The contract allows either,
so the optimization is left to user code and gives preference to those
who need the linearizable behavior. (See #156)

32 of 32 new or added lines in 2 files covered. (100.0%)

5662 of 6032 relevant lines covered (93.87%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
100.0
caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java
Jobs
ID Job ID Ran Files Coverage
1 2069.1 (TERM=dumb) 29 May 2017 12:23AM UTC 0
93.87
Travis Job 2069.1
Source Files on build 2069
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2069
  • 35fef8e6 on github
  • Prev Build on master (#2068)
  • Next Build on master (#2071)
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