Annotation Type Broadcast


@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR,FIELD,PARAMETER}) public @interface Broadcast
Configure if the annotated publisher should dispatch the messages to several subscribers. Experimental !
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Indicates the number of subscribers required before dispatching the items.
  • Element Details

    • value

      int value
      Indicates the number of subscribers required before dispatching the items.
      Returns:
      the value, 0 indicates immediate.
      Default:
      0