| 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 |
|---|---|
(package private) static class |
EventBus.LoggingHandler
Simple logging handler for subscriber exceptions.
|
| Modifier and Type | Field and Description |
|---|---|
private SubscriberExceptionHandler |
EventBus.exceptionHandler |
| Constructor and Description |
|---|
AsyncEventBus(java.util.concurrent.Executor executor,
SubscriberExceptionHandler subscriberExceptionHandler)
Creates a new AsyncEventBus that will use
executor to dispatch events. |
EventBus(java.lang.String identifier,
java.util.concurrent.Executor executor,
Dispatcher dispatcher,
SubscriberExceptionHandler exceptionHandler) |
EventBus(SubscriberExceptionHandler exceptionHandler)
Creates a new EventBus with the given
SubscriberExceptionHandler. |