Uses of Class
com.google.common.eventbus.Dispatcher
-
Packages that use Dispatcher 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). -
-
Uses of Dispatcher in com.google.common.eventbus
Subclasses of Dispatcher in com.google.common.eventbus Modifier and Type Class Description private static class
Dispatcher.ImmediateDispatcher
Implementation ofimmediate()
.private static class
Dispatcher.LegacyAsyncDispatcher
Implementation of alegacyAsync()
dispatcher.private static class
Dispatcher.PerThreadQueuedDispatcher
Implementation of aperThreadDispatchQueue()
dispatcher.Fields in com.google.common.eventbus declared as Dispatcher Modifier and Type Field Description private Dispatcher
EventBus. dispatcher
Methods in com.google.common.eventbus that return Dispatcher Modifier and Type Method Description (package private) static Dispatcher
Dispatcher. immediate()
Returns a dispatcher that dispatches events to subscribers immediately as they're posted without using an intermediate queue to change the dispatch order.(package private) static Dispatcher
Dispatcher. legacyAsync()
Returns a dispatcher that queues events that are posted in a single global queue.(package private) static Dispatcher
Dispatcher. perThreadDispatchQueue()
Returns a dispatcher that queues events that are posted reentrantly on a thread that is already dispatching an event, guaranteeing that all events posted on a single thread are dispatched to all subscribers in the order they are posted.Constructors in com.google.common.eventbus with parameters of type Dispatcher Constructor Description EventBus(java.lang.String identifier, java.util.concurrent.Executor executor, Dispatcher dispatcher, SubscriberExceptionHandler exceptionHandler)
-