Annotation Interface Schedule


@Target(METHOD) @Retention(RUNTIME) public @interface Schedule
Schedule periodic broadcast operations to the set of suspended response.
Author:
Jeanfrancois Arcand
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The period for broadcast (in second).
    boolean
    Resume all suspended response on the first broadcast operation.
    int
    The period before starting the broadcast (in second).
  • Element Details

    • period

      int period
      The period for broadcast (in second).
      Returns:
      Default:
      60
    • waitFor

      int waitFor
      The period before starting the broadcast (in second).
      Returns:
      Default:
      0
    • resumeOnBroadcast

      boolean resumeOnBroadcast
      Resume all suspended response on the first broadcast operation.
      Default:
      false