Package cn.net.pap.cache.aspect
Class CacheableFieldAspect
java.lang.Object
cn.net.pap.cache.aspect.CacheableFieldAspect
@Component
@ConditionalOnClass(org.springframework.data.redis.core.RedisOperations.class)
public class CacheableFieldAspect
extends Object
自定义缓存注解类,添加了自定义的缓存字段(缓存特定字段) 环绕AOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncacheable
(org.aspectj.lang.ProceedingJoinPoint pjp) cacheEvict
(org.aspectj.lang.ProceedingJoinPoint pjp) extractFields
(Object result)