ltd.fdsa.starter.limiter.aspect.LimiterAspect Maven / Gradle / Ivy
package ltd.fdsa.starter.limiter.aspect;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import ltd.fdsa.starter.limiter.core.execution.RedisOperationsExecution;
import ltd.fdsa.starter.limiter.core.factory.RedisOperationsFactory;
import ltd.fdsa.starter.limiter.core.utils.AspectUtils;
import org.apache.commons.codec.digest.DigestUtils;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.data.redis.core.BoundListOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.util.ObjectUtils;
import java.lang.reflect.Method;
@Aspect
@Slf4j
@Data
public class LimiterAspect {
private RedisTemplate
© 2015 - 2024 Weber Informatics LLC | Privacy Policy