Package com.google.common.eventbus
Annotation Type AllowConcurrentEvents
-
@Retention(RUNTIME) @Target(METHOD) @Beta public @interface AllowConcurrentEvents
Marks an event handling method as being thread-safe. This annotation indicates that EventBus may invoke the event handler simultaneously from multiple threads.This does not mark the method as an event handler, and so should be used in combination with
Subscribe
.- Since:
- 10.0