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



Copyright © 2010-2011. All Rights Reserved.