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

ben-manes / caffeine / #2783
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 14 Feb 2022 07:38AM UTC
Jobs 1
Files 74
Run time 6s
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
#2783

push

github-actions

ben-manes
Allow for more advanced snapshots of entry metadata

Previously the entry metadata had to be queried one-by-one, which could be
too limiting. The Policy.CacheEntry interface allows for reading multiple
peices at once, where getEntryIfPresentQuietly(key) offers a single lookup.

The ordered snapshots (hottest/coldest, youngest/oldest) now allow for
obtaining these entry types. To support cases where the limit is not
known ahead of time, e.g. to skip over some entries, the snapshot
provides a consumable stream. The computations should be short and simple,
prefering to produce a result for downstream processing, to minimize the
hold time of the eviction policy's lock. Therefore this api should be
used with care and is intended for advanced integration scenarios.

6480 of 6916 relevant lines covered (93.7%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #2783.1 14 Feb 2022 07:38AM UTC 0
93.7
Source Files on build #2783
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2783
  • 4aa9768f on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
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