
top.lshaci.framework.web.annotation.PreventRepeatSubmit Maven / Gradle / Ivy
package top.lshaci.framework.web.annotation;
import java.lang.annotation.*;
/**
* The annotation used to prevent repeat submit
*
* 1.0.7:Add attribute timeout
*
* @author lshaci
* @since 1.0.5
* @version 1.0.7
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface PreventRepeatSubmit {
/**
* Operation timeout, default value -1 millisecond
*
* @return the operation timeout
*/
long timeout() default -1;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy