31c98d8ca84e30e223d254288b05de0abe7bca25.svn-base 474 B

123456789101112131415161718192021222324252627282930313233343536
  1. package org.jeecg.boot.starter.lock.annotation;
  2. /**
  3. * @author zyf
  4. */
  5. import java.lang.annotation.*;
  6. /**
  7. * 防止重复提交的注解
  8. *
  9. * @author 2019年6月18日
  10. */
  11. @Retention(RetentionPolicy.RUNTIME)
  12. @Target({ElementType.METHOD})
  13. @Documented
  14. public @interface JRepeat {
  15. /**
  16. * 超时时间
  17. *
  18. * @return
  19. */
  20. int lockTime();
  21. /**
  22. * redis 锁key的
  23. *
  24. * @return redis 锁key
  25. */
  26. String lockKey() default "";
  27. }