Top Description Interfaces Classes
[default module]

Package org.springframework.cache.interceptor

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

AOP-based solution for declarative caching demarcation. Builds on the AOP infrastructure in org.springframework.aop.framework. Any POJO can be cache-advised with Spring.

Interface Summary

Modifier and TypeInterface and Description
public interface
BasicOperation

The base interface that all cache operations must implement.

public interface
CacheErrorHandler

A strategy for handling cache-related errors.

public interface
CacheOperationInvocationContext<
the operation type
O extends BasicOperation
>

Representation of the context of the invocation of a cache operation.

public interface
CacheOperationInvoker

Abstract the invocation of a cache operation.

public interface
public interface
CacheResolver

Determine the Cache instance(s) to use for an intercepted method invocation.

public interface
KeyGenerator

Cache key generator.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCacheInvoker

A base component for invoking Cache operations and using a configurable CacheErrorHandler when an exception occurs.

public abstract class
AbstractCacheResolver

A base CacheResolver implementation that requires the concrete implementation to provide the collection of cache name(s) based on the invocation context.

public abstract class
AbstractFallbackCacheOperationSource

Abstract implementation of CacheOperation that caches attributes for methods and implements a fallback policy: 1.

public class
BeanFactoryCacheOperationSourceAdvisor

Advisor driven by a CacheOperationSource, used to include a cache advice bean for methods that are cacheable.

public class
CacheableOperation

Class describing a cache 'cacheable' operation.

public abstract class
CacheAspectSupport

Base class for caching aspects, such as the CacheInterceptor or an AspectJ aspect.

pack-priv class
CacheEvaluationContext

Cache-specific evaluation context that adds method parameters as SpEL variables, in a lazy manner.

pack-priv class
CacheEvaluationContextFactory

A factory for CacheEvaluationContext that makes sure that internal delegates are reused.

public class
CacheEvictOperation

Class describing a cache 'evict' operation.

pack-priv class
CacheExpressionRootObject

Class describing the root object used during the expression evaluation.

public class
CacheInterceptor

AOP Alliance MethodInterceptor for declarative cache management using the common Spring caching infrastructure (org.springframework.cache.Cache).

public abstract class
CacheOperation

Base class for cache operations.

pack-priv class
CacheOperationExpressionEvaluator

Utility class handling the SpEL expression parsing.

pack-priv class
CacheOperationSourcePointcut

A Pointcut that matches if the underlying CacheOperationSource has an attribute for a given method.

public class
CacheProxyFactoryBean

Proxy factory bean for simplified declarative caching handling.

public class
CachePutOperation

Class describing a cache 'put' operation.

public class
CompositeCacheOperationSource

Composite CacheOperationSource implementation that iterates over a given array of CacheOperationSource instances.

public class
LoggingCacheErrorHandler

A CacheErrorHandler implementation that logs error messages.

public class
NamedCacheResolver

A CacheResolver that forces the resolution to a configurable collection of name(s) against a given CacheManager.

public class
NameMatchCacheOperationSource

Simple CacheOperationSource implementation that allows attributes to be matched by registered name.

public class
SimpleCacheErrorHandler

A simple CacheErrorHandler that does not handle the exception at all, simply throwing it back at the client.

public class
SimpleCacheResolver

A simple CacheResolver that resolves the Cache instance(s) based on a configurable CacheManager and the name of the cache(s) as provided by getCacheNames().

public class
SimpleKey

A simple key as returned from the SimpleKeyGenerator.

public class
SimpleKeyGenerator

Simple key generator.

pack-priv class
VariableNotAvailableException

An internal EvaluationException which signals that a given variable used in an expression is not available in the context.