Update dependency com.github.ben-manes.caffeine:caffeine to v3 - autoclosed #11968
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.6.2
->3.0.3
Release Notes
ben-manes/caffeine
v3.0.3
Cache
v3.0.2
Cache
sun.misc.Unsafe
and fallbacksv3.0.1
v3.0.0
This release includes API incompatible changes.
Highlights
API improvements
Policy.refreshes()
for a snapshot of the in-flight refresh operationsCacheLoader
andAsyncCacheLoader
offerbulk
factory methodsAsyncCacheLoader
methods may now throw checked exceptionsLoadingCache.refresh
now returns the in-flight future (#143)LoadingCache.refreshAll
convenience methodSet
of keys (wasIterable
)Implementation improvements
java.util.logging
(#456)sun.misc.Unsafe
is no longer required (#273)Incompatible changes
VarExpiration
time-based puts now return the old value instead of a boolean resultPolicy.Expiration
into fixed and refresh interfacesDeprecation removals
CacheWriter
,SingleConsumerQueue
, andUnsafeAccess
StatsCounter.recordEviction
variationsCacheStats
constructorsNotes
CacheWriter
usages can be replaced byMap
computations andCaffeine.evictionListener
Unsafe
may be used if available, otherwise falls back toVarHandles
v2.9.2
Cache
v2.9.1
Cache
v2.9.0
Cache
Caffeine.evictionListener
which is notified within the atomic operation when an entry is automatically removedCacheWriter
. Please useasMap
computations or an eviction listener insteadCacheStats.of(...)
to allow for becoming a value-based class in a future releasev2.8.8
Cache
v2.8.7
Cache
asMap().keySet().toArray()
to not return expired mappings (#472)CaffeineSpec
(#466)put
update optimization for variable expiration (#478)v2.8.6
Cache
AsyncCache
future value resolves to nullAsyncCache.synchronous().asMap()
conditional methodsUnsafeAccess
andSingleConsumerQueue
JCache
v2.8.5
Cache
v2.8.4
Cache
getIfPresent
if there is pending work (#420)v2.8.3
Cache
Policy.getIfPresentQuietly
to lookup without affecting the metadata (#418)v2.8.2
Cache
JCache
v2.8.1
JCache
v2.8.0
Cache
RemovalCause
toStatsCounter
(#304)getAll
support to manual caches (#310)Scheduler
for prompt eviction of expired entries (#195)JCache
v2.7.0
Cache
asMap()
view (#156)AsyncCache
for manual async cache (#246)JCache
This release includes improvements to the eviction policy by using a hill climber to optimize for frequency or recency. For more details, see the HighScalability article and our paper Adaptive Software Cache Management.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.