Guava: Google Core Libraries for Java 13.0.1-redhat-1

com.google.common.eventbus
Annotation Type AllowConcurrentEvents


@Retention(value=RUNTIME)
@Target(value=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
Author:
Cliff Biffle


Guava: Google Core Libraries for Java 13.0.1-redhat-1

Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.