Top Description Classes
module spring.context.support

Package org.springframework.cache.transaction

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

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

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractTransactionSupportingCacheManager

Base class for CacheManager implementations that want to support built-in awareness of Spring-managed transactions.

public class
TransactionAwareCacheDecorator

Cache decorator which synchronizes its put, evict and 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.

public class
TransactionAwareCacheManagerProxy

Proxy for a target CacheManager, exposing transaction-aware Cache objects which synchronize their Cache#put operations with Spring-managed transactions (through Spring's org.springframework.transaction.support.TransactionSynchronizationManager), performing the actual cache put operation only in the after-commit phase of a successful transaction.