Package com.bytedesk.core.redis.cache
Class RedisCacheErrorHandler
java.lang.Object
com.bytedesk.core.redis.cache.RedisCacheErrorHandler
- All Implemented Interfaces:
org.springframework.cache.interceptor.CacheErrorHandler
public class RedisCacheErrorHandler
extends Object
implements org.springframework.cache.interceptor.CacheErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCacheClearError(RuntimeException exception, org.springframework.cache.Cache cache) voidhandleCacheEvictError(RuntimeException exception, org.springframework.cache.Cache cache, Object key) voidhandleCacheGetError(RuntimeException exception, org.springframework.cache.Cache cache, Object key) voidhandleCachePutError(RuntimeException exception, org.springframework.cache.Cache cache, Object key, Object value)
-
Constructor Details
-
RedisCacheErrorHandler
public RedisCacheErrorHandler()
-
-
Method Details
-
handleCacheGetError
public void handleCacheGetError(RuntimeException exception, org.springframework.cache.Cache cache, Object key) - Specified by:
handleCacheGetErrorin interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCachePutError
public void handleCachePutError(RuntimeException exception, org.springframework.cache.Cache cache, Object key, Object value) - Specified by:
handleCachePutErrorin interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCacheEvictError
public void handleCacheEvictError(RuntimeException exception, org.springframework.cache.Cache cache, Object key) - Specified by:
handleCacheEvictErrorin interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCacheClearError
public void handleCacheClearError(RuntimeException exception, org.springframework.cache.Cache cache) - Specified by:
handleCacheClearErrorin interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-