A D E H L O P R T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAsyncSubscriber(Consumer<EVENT_TYPE>) - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Add an asynchronous subscriber/consumer
- addSyncSubscriber(Consumer<EVENT_TYPE>) - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Add a synchronous subscriber/consumer
D
- dk.cloudcreate.essentials.reactive - module dk.cloudcreate.essentials.reactive
- dk.cloudcreate.essentials.reactive - package dk.cloudcreate.essentials.reactive
E
- event - Variable in exception dk.cloudcreate.essentials.reactive.PublishException
H
- handle(Consumer<EVENT_TYPE>, EVENT_TYPE, Exception) - Method in interface dk.cloudcreate.essentials.reactive.OnErrorHandler
-
Will be called if a given consumer/subscriber fails to handle a message
L
- LocalEventBus<EVENT_TYPE> - Class in dk.cloudcreate.essentials.reactive
-
Simple event bus that supports both synchronous and asynchronous subscribers that are registered and listening for events published within the local the JVM
You can have multiple instances of the LocalEventBus deployed with the local JVM, but usually one event bus is sufficient.
Example: - LocalEventBus(String, int, OnErrorHandler<EVENT_TYPE>) - Constructor for class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Create a
LocalEventBuswith the given name, the given number of parallel asynchronous processing threads - LocalEventBus(String, Scheduler, OnErrorHandler<EVENT_TYPE>) - Constructor for class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Create a
LocalEventBuswith the given name, the given number of parallel asynchronous processing threads
O
- OnErrorHandler<EVENT_TYPE> - Interface in dk.cloudcreate.essentials.reactive
-
Error Handler interface for the
LocalEventBus
P
- publish(EVENT_TYPE) - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Publish the event to all subscribers/consumer
First we call all asynchronous subscribers, after which we will call all synchronous subscribers on the calling thread (i.e. - PublishException - Exception in dk.cloudcreate.essentials.reactive
- PublishException(String, Object) - Constructor for exception dk.cloudcreate.essentials.reactive.PublishException
- PublishException(String, Throwable, Object) - Constructor for exception dk.cloudcreate.essentials.reactive.PublishException
R
- removeAsyncSubscriber(Consumer<EVENT_TYPE>) - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Remove an asynchronous subscriber/consumer
- removeSyncSubscriber(Consumer<EVENT_TYPE>) - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
-
Remove a synchronous subscriber/consumer
T
- toString() - Method in class dk.cloudcreate.essentials.reactive.LocalEventBus
All Classes All Packages