v2.5.0
What's changed
- Provide time-based expiry for
ConcurrentLfu
, matchingConcurrentLru
. This closely follows the implementation in Java's Caffeine, using a port of Caffeine's hierarchical timer wheel to perform all operations in O(1) time. Expire after write, expire after access and expire after usingIExpiryCalculator
can be configured viaConcurrentLfuBuilder
extension methods. - Provide
ICacheExt
andIAsyncCacheExt
to enable client code compiled against .NET Standard to use the builder APIs and cache methods added since v2.0. These new methods are excluded in the base interfaces for .NET Standard, since adding them would be a breaking change. - Provide the
Duration
convenience methodsFromHours
andFromDays
.
Full changelog: v2.4.1...v2.5.0