Example usage for org.springframework.cache.interceptor CacheOperationSource interface-usage

List of usage examples for org.springframework.cache.interceptor CacheOperationSource interface-usage

Introduction

In this page you can find the example usage for org.springframework.cache.interceptor CacheOperationSource interface-usage.

Usage

From source file org.springframework.cache.interceptor.NameMatchCacheOperationSource.java

/**
 * Simple {@link CacheOperationSource} implementation that allows attributes to be matched
 * by registered name.
 *
 * @author Costin Leau
 * @since 3.1

From source file org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.java

/**
 * Abstract implementation of {@link CacheOperation} that caches attributes
 * for methods and implements a fallback policy: 1. specific target method;
 * 2. target class; 3. declaring method; 4. declaring class/interface.
 *
 * <p>Defaults to using the target class's caching attribute if none is

From source file org.hswebframework.web.cache.spring.fix.FixUseSupperClassFallbackCacheOperationSource.java

/**
 * Abstract implementation of {@link CacheOperation} that caches attributes
 * for methods and implements a fallback policy: 1. specific target method;
 * 2. target class; 3. declaring method; 4. declaring class/interface.
 * <p>
 * <p>Defaults to using the target class's caching attribute if none is

From source file grails.plugin.cache.GrailsAnnotationCacheOperationSource.java

/**
 * getCacheOperations is called when beans are initialized and also from
 * PageFragmentCachingFilter during requests; the filter needs annotations on
 * controllers but if the standard lookup includes controllers, the return
 * values from the controller method calls are cached unnecessarily.
 *