Top Description Methods
com.google.common.eventbus

public @Interface AllowConcurrentEvents

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD
@ElementTypesAreNonnullByDefault
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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.

Author
Cliff Biffle
Since
10.0

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString