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.errorHandlerMethods in org.springframework.cache.annotation that return CacheErrorHandlerModifier and TypeMethodDescriptiondefault CacheErrorHandlerCachingConfigurer.errorHandler()Return theCacheErrorHandlerto 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 TypeClassDescriptionclassACacheErrorHandlerimplementation that logs error messages.classA simpleCacheErrorHandlerthat 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.errorHandlerMethods in org.springframework.cache.interceptor that return CacheErrorHandlerModifier and TypeMethodDescriptionAbstractCacheInvoker.getErrorHandler()Return theCacheErrorHandlerto use.Methods in org.springframework.cache.interceptor with parameters of type CacheErrorHandlerModifier and TypeMethodDescriptionvoidAbstractCacheInvoker.setErrorHandler(CacheErrorHandler errorHandler) Set theCacheErrorHandlerinstance to use to handle errors thrown by the cache provider.Method parameters in org.springframework.cache.interceptor with type arguments of type CacheErrorHandlerModifier and TypeMethodDescriptionvoidCacheAspectSupport.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 newJCacheInterceptorwith the given error handler.