类 ReactiveCacheAspect


  • @Component
    public class ReactiveCacheAspect
    extends Object

    redis缓存aop

    • 字段详细资料

      • redisTemplate

        private org.springframework.data.redis.core.RedisTemplate<String,​Object> redisTemplate
    • 构造器详细资料

      • ReactiveCacheAspect

        public ReactiveCacheAspect()
    • 方法详细资料

      • cacheablePointCut

        public void cacheablePointCut()
      • cacheEvictPointCut

        public void cacheEvictPointCut()
      • cachePutPointCut

        public void cachePutPointCut()
      • cachingPointCut

        public void cachingPointCut()
      • cacheableAround

        public Object cacheableAround​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                               throws Throwable
        抛出:
        Throwable
      • cacheEvictAround

        public Object cacheEvictAround​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                                throws Throwable
        抛出:
        Throwable
      • cachePutAround

        public Object cachePutAround​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                              throws Throwable
        抛出:
        Throwable
      • cachingAround

        public Object cachingAround​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                             throws Throwable
        抛出:
        Throwable
      • deleteRedisCache

        private void deleteRedisCache​(String key,
                                      boolean clearAll)
      • deleteRedisCache

        private void deleteRedisCache​(String cacheName,
                                      String key,
                                      boolean clearAll)