接口的使用
cn.taketoday.cache.interceptor.CacheErrorHandler
使用CacheErrorHandler的程序包
程序包
说明
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
-
cn.taketoday.cache.annotation中CacheErrorHandler的使用
类型参数类型为CacheErrorHandler的cn.taketoday.cache.annotation中的字段修饰符和类型方法说明default CacheErrorHandlerCachingConfigurer.errorHandler()Return theCacheErrorHandlerto use to handle cache-related errors. -
cn.taketoday.cache.interceptor中CacheErrorHandler的使用
修饰符和类型类说明classACacheErrorHandlerimplementation that logs error message.classA simpleCacheErrorHandlerthat does not handle the exception at all, simply throwing it back at the client.类型参数类型为CacheErrorHandler的cn.taketoday.cache.interceptor中的字段修饰符和类型字段说明protected cn.taketoday.util.function.SingletonSupplier<CacheErrorHandler>AbstractCacheInvoker.errorHandler修饰符和类型方法说明voidAbstractCacheInvoker.setErrorHandler(CacheErrorHandler errorHandler) Set theCacheErrorHandlerinstance to use to handle errors thrown by the cache provider.类型变量类型为CacheErrorHandler的cn.taketoday.cache.interceptor中的方法参数修饰符和类型方法说明voidCacheAspectSupport.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.