private static final class Dispatcher.LegacyAsyncDispatcher extends Dispatcher
Dispatcher.legacyAsync() dispatcher.| Modifier and Type | Class and Description |
|---|---|
private static class |
Dispatcher.LegacyAsyncDispatcher.EventWithSubscriber |
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentLinkedQueue<Dispatcher.LegacyAsyncDispatcher.EventWithSubscriber> |
queue
Global event queue.
|
| Modifier | Constructor and Description |
|---|---|
private |
LegacyAsyncDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
dispatch(java.lang.Object event,
java.util.Iterator<Subscriber> subscribers)
Dispatches the given
event to the given subscribers. |
immediate, legacyAsync, perThreadDispatchQueueprivate final java.util.concurrent.ConcurrentLinkedQueue<Dispatcher.LegacyAsyncDispatcher.EventWithSubscriber> queue
void dispatch(java.lang.Object event,
java.util.Iterator<Subscriber> subscribers)
Dispatcherevent to the given subscribers.dispatch in class Dispatcher