Package com.google.common.eventbus
Class Dispatcher.ImmediateDispatcher
- java.lang.Object
-
- com.google.common.eventbus.Dispatcher
-
- com.google.common.eventbus.Dispatcher.ImmediateDispatcher
-
- Enclosing class:
- Dispatcher
private static final class Dispatcher.ImmediateDispatcher extends Dispatcher
Implementation ofDispatcher.immediate()
.
-
-
Field Summary
Fields Modifier and Type Field Description private static Dispatcher.ImmediateDispatcher
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
ImmediateDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
dispatch(java.lang.Object event, java.util.Iterator<Subscriber> subscribers)
Dispatches the givenevent
to the givensubscribers
.-
Methods inherited from class com.google.common.eventbus.Dispatcher
immediate, legacyAsync, perThreadDispatchQueue
-
-
-
-
Field Detail
-
INSTANCE
private static final Dispatcher.ImmediateDispatcher INSTANCE
-
-
Method Detail
-
dispatch
void dispatch(java.lang.Object event, java.util.Iterator<Subscriber> subscribers)
Description copied from class:Dispatcher
Dispatches the givenevent
to the givensubscribers
.- Specified by:
dispatch
in classDispatcher
-
-