:maximumWeight and :scheduler builder settings:expireAfterAccess, :expireAfterWrite and :refreshAfterWrite also accept a
java.time.Duration:maximumSize is no longer narrowed to an int, so bounds above Integer/MAX_VALUE work:weigher without :maximumWeight is rejected up front — caffeine ignores a weigher
without a weight boundtest.check) and a mutation-testing suitedeps.edn for tools.deps users, alongside the existing project.cljBehaviour change inherited from caffeine 3.1.0 ("return the new value if computed by
the caller", ben-manes/caffeine#688, #699): once refreshAfterWrite has elapsed, a read
may return the refreshed value instead of the stale one. Up to caffeine 3.0.x the stale
value was always returned until the refresh completed. A read still never blocks on the
reload, and a failing reload still keeps the previous value.
loading-cache/refresh-allCan you improve this documentation? These fine people already did:
Ido Barkan, Pedro Gomes Branquinho & asaf.cheloucheEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |