EventBus that takes the Executor of your choice and uses it to dispatch events,
allowing dispatch to occur asynchronously.
| Access | Constructor and Description |
|---|---|
| public | AsyncEventBus(String
short name for the bus, for logging purposes. identifier, Executor Executor to use to dispatch events. It is the caller's responsibility to shut
down the executor after the last event has been posted to this event bus. executor)Creates a new AsyncEventBus that will use |
| public | AsyncEventBus(Executor
Executor to use to dispatch events. It is the caller's responsibility to shut
down the executor after the last event has been posted to this event bus. executor, SubscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
See subscriberExceptionHandler)SubscriberExceptionHandler for more information.Creates a new AsyncEventBus that will use |
| public | AsyncEventBus(Executor
Executor to use to dispatch events. It is the caller's responsibility to shut
down the executor after the last event has been posted to this event bus. executor)Creates a new AsyncEventBus that will use |
| AsyncEventBus | back to summary |
|---|---|
| public AsyncEventBus(String identifier, Executor executor) Creates a new AsyncEventBus that will use | |
| AsyncEventBus | back to summary |
|---|---|
| public AsyncEventBus(Executor executor, SubscriberExceptionHandler subscriberExceptionHandler) Creates a new AsyncEventBus that will use
| |
| AsyncEventBus | back to summary |
|---|---|
| public AsyncEventBus(Executor executor) Creates a new AsyncEventBus that will use
| |