public class Dispatcher
extends java.lang.Object
Task to be
processed in background.| Constructor and Description |
|---|
Dispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
dispatchEventToBackground(Task task)
Multiple bus instances can call this method, when an event needs to
be dispatched to given subscriber in a background thread.
|
public void dispatchEventToBackground(Task task)
This method can be called in any thread
public void destroy()