# Package org.springframework.cache.transaction

@NonNullApi @NonNullFields package org.springframework.cache.transaction
Transaction-aware decorators for the org.springframework.cache package. Provides synchronization of put operations with Spring-managed transactions.

Classes
Class
Description
AbstractTransactionSupportingCacheManager
Base class for CacheManager implementations that want to support built-in awareness of Spring-managed transactions.
TransactionAwareCacheDecorator
Cache decorator which synchronizes its `TransactionAwareCacheDecorator.put(java.lang.Object, java.lang.Object)`, `TransactionAwareCacheDecorator.evict(java.lang.Object)` and `TransactionAwareCacheDecorator.clear()` operations with Spring-managed transactions (through Spring's `TransactionSynchronizationManager`), performing the actual cache put/evict/clear operation only in the after-commit phase of a successful transaction.
TransactionAwareCacheManagerProxy
Proxy for a target `CacheManager`, exposing transaction-aware `Cache` objects which synchronize their `Cache.put(java.lang.Object, java.lang.Object)` operations with Spring-managed transactions (through Spring's `TransactionSynchronizationManager`), performing the actual cache put operation only in the after-commit phase of a successful transaction.