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 Details

    • RedisCacheErrorHandler

      public RedisCacheErrorHandler()
  • Method Details

    • handleCacheGetError

      public void handleCacheGetError(RuntimeException exception, org.springframework.cache.Cache cache, Object key)
      Specified by:
      handleCacheGetError in interface org.springframework.cache.interceptor.CacheErrorHandler
    • handleCachePutError

      public void handleCachePutError(RuntimeException exception, org.springframework.cache.Cache cache, Object key, Object value)
      Specified by:
      handleCachePutError in interface org.springframework.cache.interceptor.CacheErrorHandler
    • handleCacheEvictError

      public void handleCacheEvictError(RuntimeException exception, org.springframework.cache.Cache cache, Object key)
      Specified by:
      handleCacheEvictError in interface org.springframework.cache.interceptor.CacheErrorHandler
    • handleCacheClearError

      public void handleCacheClearError(RuntimeException exception, org.springframework.cache.Cache cache)
      Specified by:
      handleCacheClearError in interface org.springframework.cache.interceptor.CacheErrorHandler