类 AbstractTransactionSupportingCacheManager

    • 方法详细资料

      • setTransactionAware

        public void setTransactionAware​(boolean transactionAware)
        Set whether this CacheManager should expose transaction-aware Cache objects.

        Default is "false". Set this to "true" to synchronize cache put/evict operations with ongoing Spring-managed transactions, performing the actual cache put/evict operation only in the after-commit phase of a successful transaction.

      • isTransactionAware

        public boolean isTransactionAware()
        Return whether this CacheManager has been configured to be transaction-aware.