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