public class EventManager extends Object
Modifier and Type | Method and Description |
---|---|
static EventManager |
getInstance() |
CompletableFuture<EventResult> |
publish(Event event)
Publishes an event to the event queue.
|
void |
shutdown()
Shut down the executor.
|
public static EventManager getInstance()
public void shutdown()
public CompletableFuture<EventResult> publish(Event event)
event
- incoming event which will be processed by the I/O threads.Copyright © 2018 WSO2. All rights reserved.