Releases: ben-manes/caffeine
Releases · ben-manes/caffeine
2.9.0
Cache
- Added
Caffeine.evictionListener
which is notified within the atomic operation when an entry is automatically removed - Added triggering cache maintenance if an iterator observes an expired entry for more aggressive eviction (#487)
- Improved eager eviction of an added or updated entry if it exceeds the cache's maximum weight
- Deprecated
CacheWriter
. Please useasMap
computations or an eviction listener instead - Added
CacheStats.of(...)
to allow for becoming a value-based class in a future release
2.8.8
2.8.7
2.8.6
Cache
- Changed false sharing protection to comply with JDK 15's field layout (Java Objects Inside Out)
- Suppressed the removal listener notification when an
AsyncCache
future value resolves to null - Improved the implementations of
AsyncCache.synchronous().asMap()
conditional methods - Added Jandex index for assisting GraalVM AOT (quarkusio/quarkus#10420)
- Deprecated
UnsafeAccess
andSingleConsumerQueue
JCache
2.8.5
2.8.4
2.8.3
2.8.2
2.8.1
2.8.0
Cache
- Included the license file in the jar (#325)
- Added
RemovalCause
toStatsCounter
(#304) - Added
getAll
support to manual caches (#310) - Fixed long overflow in statistics (google/guava#3503)
- Added
Scheduler
for prompt eviction of expired entries (#195)
JCache
- Fixed assigning ticker to cache builder (#313)