Commit eb7280a0 by 李传峰

feat:[none] 注释JedisClusterAspect

parent a6199f9a
...@@ -5,9 +5,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -5,9 +5,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.RandomUtils; import org.apache.commons.lang3.RandomUtils;
import org.aspectj.lang.JoinPoint; import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut; import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
import org.springframework.util.ResourceUtils; import org.springframework.util.ResourceUtils;
import redis.clients.util.JedisClusterCRC16; import redis.clients.util.JedisClusterCRC16;
import redis.clients.util.SafeEncoder; import redis.clients.util.SafeEncoder;
...@@ -20,8 +18,8 @@ import java.util.concurrent.atomic.AtomicInteger; ...@@ -20,8 +18,8 @@ import java.util.concurrent.atomic.AtomicInteger;
/** /**
* 添加监控,查看 * 添加监控,查看
*/ */
@Component //@Component
@Aspect //@Aspect
@Slf4j @Slf4j
public class JedisClusterAspect { public class JedisClusterAspect {
//需要统计的方法调用次数 //需要统计的方法调用次数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment