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 TypeMethodDescriptionvoid
handleCacheClearError
(RuntimeException exception, org.springframework.cache.Cache cache) void
handleCacheEvictError
(RuntimeException exception, org.springframework.cache.Cache cache, Object key) void
handleCacheGetError
(RuntimeException exception, org.springframework.cache.Cache cache, Object key) void
handleCachePutError
(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:
handleCacheGetError
in interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCachePutError
public void handleCachePutError(RuntimeException exception, org.springframework.cache.Cache cache, Object key, Object value) - Specified by:
handleCachePutError
in interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCacheEvictError
public void handleCacheEvictError(RuntimeException exception, org.springframework.cache.Cache cache, Object key) - Specified by:
handleCacheEvictError
in interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-
handleCacheClearError
public void handleCacheClearError(RuntimeException exception, org.springframework.cache.Cache cache) - Specified by:
handleCacheClearError
in interfaceorg.springframework.cache.interceptor.CacheErrorHandler
-