Spring Framework AbstractCacheManager - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework AbstractCacheManager class.

This code example shows how to use the following methods:
 * @since 3.2 
 * @see #setTransactionAware 
 * @see TransactionAwareCacheDecorator 
 * @see TransactionAwareCacheManagerProxy 
public abstract class AbstractTransactionSupportingCacheManager extends AbstractCacheManager {
	private boolean transactionAware = false;
	 * Set whether this CacheManager should expose transaction-aware Cache objects. 
	 * <p>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. 
	public void setTransactionAware(boolean transactionAware) {
		this.transactionAware = transactionAware;