Annotation Interface JPPFRunnable


@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) public @interface JPPFRunnable
Annotation to determine which method in a class is the task's main method.
Author:
Laurent Cohen
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Specifies the execution order, in the case where multiple methods are annotated in the same class.
    When specified orders are the same, the ordering is the same as the one used in Class.getDeclaredMethods()
  • Element Details

    • value

      int value
      Specifies the execution order, in the case where multiple methods are annotated in the same class.
      When specified orders are the same, the ordering is the same as the one used in Class.getDeclaredMethods()
      Returns:
      .
      Default:
      0