com.neko233.skilltree.aop.api.impl.retry.RetryAop Maven / Gradle / Ivy
package com.neko233.skilltree.aop.api.impl.retry;
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.TYPE, ElementType.METHOD})
public @interface RetryAop {
int value() default 1; // 重试次数,默认为1次
}