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

ben-manes / caffeine / 1648
100%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2016 07:57AM UTC
Jobs 1
Files 64
Run time 2s
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
1648

push

travis-ci

ben-manes
Do not admit entries that exceed the maximum weight

If an entry's weight exceeds the cache's maximum capacity, then evict
it immediately. This avoids flushing the probation segment, though it
probably does flush the admission window (1% of the total size).

Thanks to @blemale for reminding me when I peeked at his WeigherSpec
test [1]. This was fixed in Guava [2], but I had forgotten to port that
over after v19 was released.

Also improved the correction of evaluating the admission candidates when
evicting multiple entries. When a candidate is accepted or evicted the
count is decremented and the next is set for evaluation. This most often
occurs for weighted caches.

[1] https://github.com/blemale/scaffeine
[2] https://github.com/google/guava/commit/b3855ef79

4451 of 4677 relevant lines covered (95.17%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1648.1 (TERM=dumb) 20 Mar 2016 07:57AM UTC 0
95.17
Travis Job 1648.1
Source Files on build 1648
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1648
  • b0cd1a55 on github
  • Prev Build on master (#1641)
  • Next Build on master (#1650)
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