Annotation Type 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 period
      The period for broadcast (in second).
      boolean resumeOnBroadcast
      Resume all suspended response on the first broadcast operation.
      int waitFor
      The period before starting the broadcast (in second).
    • Element Detail

      • 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