Annotation Interface Idempotent


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Idempotent
幂等注解
从以下版本开始:
1.1.7
作者:
mhuang
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
     
    提示信息
    名称, 用来区分需要不同控制的方法
    long
    超时时间、默认5秒
  • 元素详细资料

    • enable

      boolean enable
      默认值:
      true
    • name

      String name
      名称, 用来区分需要不同控制的方法
      返回:
      默认值:
      ""
    • timeout

      long timeout
      超时时间、默认5秒
      返回:
      默认值:
      5000L
    • message

      String message
      提示信息
      返回:
      默认值:
      "\u91cd\u590d\u8bf7\u6c42"