com.neko233.toolchain.aop.annotation.RetryAop Maven / Gradle / Ivy
package com.neko233.toolchain.aop.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface RetryAop {
int value() default 1; // 重试次数,默认为1次
}