Annotated methods are automatically discovered and subscribed by
EventBus.subscribeAnnotated(Object).-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintMaximum number of executions until the subscription expires.
Values less than 1 mean the subscription will never expire.booleanWhether cancelled events should be handled or ignored by the annotated method.int
-
Element Details
-
priority
int priority- See Also:
- Default:
- 0
-
ignoreCancelled
boolean ignoreCancelledWhether cancelled events should be handled or ignored by the annotated method.- Default:
- true
-
expirationCount
int expirationCountMaximum number of executions until the subscription expires.
Values less than 1 mean the subscription will never expire.- Default:
- 0
-