Uses of Interface
org.springframework.cache.interceptor.CacheErrorHandler
Packages that use CacheErrorHandler
Package
Description
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
-
Uses of CacheErrorHandler in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation with type parameters of type CacheErrorHandlerModifier and TypeFieldDescriptionprotected Supplier<CacheErrorHandler>
AbstractCachingConfiguration.errorHandler
Methods in org.springframework.cache.annotation that return CacheErrorHandlerModifier and TypeMethodDescriptiondefault CacheErrorHandler
CachingConfigurer.errorHandler()
Return theCacheErrorHandler
to use to handle cache-related errors.CachingConfigurerSupport.errorHandler()
Deprecated. -
Uses of CacheErrorHandler in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement CacheErrorHandlerModifier and TypeClassDescriptionclass
ACacheErrorHandler
implementation that logs error messages.class
A simpleCacheErrorHandler
that does not handle the exception at all, simply throwing it back at the client.Fields in org.springframework.cache.interceptor with type parameters of type CacheErrorHandlerModifier and TypeFieldDescriptionprotected SingletonSupplier<CacheErrorHandler>
AbstractCacheInvoker.errorHandler
Methods in org.springframework.cache.interceptor that return CacheErrorHandlerModifier and TypeMethodDescriptionAbstractCacheInvoker.getErrorHandler()
Return theCacheErrorHandler
to use.Methods in org.springframework.cache.interceptor with parameters of type CacheErrorHandlerModifier and TypeMethodDescriptionvoid
AbstractCacheInvoker.setErrorHandler
(CacheErrorHandler errorHandler) Set theCacheErrorHandler
instance to use to handle errors thrown by the cache provider.Method parameters in org.springframework.cache.interceptor with type arguments of type CacheErrorHandlerModifier and TypeMethodDescriptionvoid
CacheAspectSupport.configure
(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.Constructors in org.springframework.cache.interceptor with parameters of type CacheErrorHandler -
Uses of CacheErrorHandler in org.springframework.cache.jcache.interceptor
Constructor parameters in org.springframework.cache.jcache.interceptor with type arguments of type CacheErrorHandlerModifierConstructorDescriptionJCacheInterceptor
(Supplier<CacheErrorHandler> errorHandler) Construct a newJCacheInterceptor
with the given error handler.