Releases: ethlo/spring-tx-cache-decorator
Releases · ethlo/spring-tx-cache-decorator
v1.0.5
Fixes issue #11:
Spring Boot exposes cache metrics via the CacheMetricsRegistrar. This class expects that the decorator is of type TransactionAwareCacheDecorator in order to unwrap the decorated cache. Since the EnhancedTransactionAwareCacheDecorator is not of that type, the underlying cache is not available, and the decorated cache type is not supported by any of the available CacheMeterBinderProvider.
Thanks to @iyerha for raising and fixing!
v1.0.4
v1.0.3
v1.0.2
v1.0.0
- First API stable release.
- Add support for caching the cached result - A benefit of knowing the transaction boundaries is that we can support caching of a value coming from the delegate cache, as it may be remote and impose roundtrip and deserialization costs compared to a simple Hashmap lookup. This will of course only be beneficial if the same value is accessed more than once inside the same transaction. This can be enabled by setting cacheCacheResult to true.