Uses of Interface
org.springframework.cache.interceptor.CacheErrorHandler
Packages that use CacheErrorHandler Package Description org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.interceptor 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 CacheErrorHandler Modifier and Type Field Description protected Supplier<CacheErrorHandler>
AbstractCachingConfiguration. errorHandler
Methods in org.springframework.cache.annotation that return CacheErrorHandler Modifier and Type Method Description CacheErrorHandler
CachingConfigurer. errorHandler()
Return theCacheErrorHandler
to use to handle cache-related errors.CacheErrorHandler
CachingConfigurerSupport. errorHandler()
Uses of CacheErrorHandler in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement CacheErrorHandler Modifier and Type Class Description class
SimpleCacheErrorHandler
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 CacheErrorHandler Modifier and Type Field Description protected SingletonSupplier<CacheErrorHandler>
AbstractCacheInvoker. errorHandler
Methods in org.springframework.cache.interceptor that return CacheErrorHandler Modifier and Type Method Description CacheErrorHandler
AbstractCacheInvoker. getErrorHandler()
Return theCacheErrorHandler
to use.Methods in org.springframework.cache.interceptor with parameters of type CacheErrorHandler Modifier and Type Method Description void
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 CacheErrorHandler Modifier and Type Method Description void
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 Constructor Description AbstractCacheInvoker(CacheErrorHandler errorHandler)
Uses of CacheErrorHandler in org.springframework.cache.jcache.interceptor
Constructor parameters in org.springframework.cache.jcache.interceptor with type arguments of type CacheErrorHandler Constructor Description JCacheInterceptor(Supplier<CacheErrorHandler> errorHandler)
Construct a newJCacheInterceptor
with the given error handler.