Package | Description |
---|---|
com.google.common.eventbus |
The EventBus allows publish-subscribe-style communication between components
without requiring the components to explicitly register with one another
(and thus be aware of each other).
|
Modifier and Type | Class and Description |
---|---|
private static class |
EventBus.LoggingSubscriberExceptionHandler
Simple logging handler for subscriber exceptions.
|
Modifier and Type | Field and Description |
---|---|
private SubscriberExceptionHandler |
EventBus.subscriberExceptionHandler |
Constructor and Description |
---|
AsyncEventBus(java.util.concurrent.Executor executor,
SubscriberExceptionHandler subscriberExceptionHandler)
Creates a new AsyncEventBus that will use
executor to dispatch
events. |
EventBus(SubscriberExceptionHandler subscriberExceptionHandler)
Creates a new EventBus with the given
SubscriberExceptionHandler . |