Class Dispatcher.PerThreadQueuedDispatcher

    • Field Detail

      • dispatching

        private final java.lang.ThreadLocal<java.lang.Boolean> dispatching
        Per-thread dispatch state, used to avoid reentrant event dispatching.
    • Constructor Detail

      • PerThreadQueuedDispatcher

        private PerThreadQueuedDispatcher()
    • Method Detail

      • dispatch

        void dispatch​(java.lang.Object event,
                      java.util.Iterator<Subscriber> subscribers)
        Description copied from class: Dispatcher
        Dispatches the given event to the given subscribers.
        Specified by:
        dispatch in class Dispatcher