Annotation Interface XxlJob


@Target(METHOD) @Retention(RUNTIME) @Inherited public @interface XxlJob
annotation for method jobhandler
Author:
xuxueli 2019-12-11 20:50:13
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    jobhandler name
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    destroy handler, invoked when JobThread destroy
    init handler, invoked when JobThread init
  • Element Details

    • value

      String value
      jobhandler name
    • init

      String init
      init handler, invoked when JobThread init
      Default:
      ""
    • destroy

      String destroy
      destroy handler, invoked when JobThread destroy
      Default:
      ""