Releases: ben-manes/caffeine
Releases · ben-manes/caffeine
2.2.4
- Improved write performance of
weakKeys
(orbit/orbit#144) - Improved write performance of
expireAfterWrite
(orbit/orbit#144) - Fixed GC churn caused by scheduling due to
ForkJoinPool
wrapping tasks (orbit/orbit#144) - Avoids multiple reads from the map returned by
loadAll
(potentially expensive if lazy view) - Prevents GC nepotism in write buffer (
SingleConsumerQueue
)
WARNING: Periodic maintenance was broken; this release should not be used (was live for 5 hours).
2.2.3
2.2.2
2.2.1
Cache
- Added optimized
Spliterator
for concurrent stream processing - Handle race condition in the default implementation of
replaceAll
2.2.0
2.1.0
Cache
- Added
CaffeineSpec
to simplify creating caches from an external configuration file (#37) - Fast path to skip usage tracking for the maximum size policy when less than 50% full
- Improved automatic refresh error handling
JCache
- Support automatic refresh as a configuration option
- Friendlier
CaffeineConfiguration
initial settings (SO) - Fixed expiration bugs (SO)
Collections
- Removed
ConcurrentLinkedStack
, a @Beta API not subject to semver - Scheduled
SingleConsumerQueue
for removal in the next major release (3.0.0
)
2.0.3
JCache
- Fixed statistics average operation time not being reported in microseconds
- Fixed early expiration due to convertion into microseconds, not milliseconds (#40)
- Ensured that events are fired in entry order by always being sent within the atomic block
- Improved performance, largely by avoiding slow calls for the current time unless required
2.0.2
2.0.1
2.0.0
A major revision that includes API incompatible changes.
Cache
- Replaced LRU with W-TinyLfu eviction policy
- Inspect whether stats are enabled in the
Policy
CacheLoader
support for checked exceptions (rethrown asCompletionException
)RemovalListener
now uses friendlier syntax for lambdas (removedRemovalNotification
)- Avoid excessive scheduling of the maintenace task
- Removed
NonReentrantLock
- Removed tracing packages
JCache
- Renamed
CopyStrategy
toCopier