Package reactor.bus
Interface Bus<T>
Deprecated.
Here for compatibility only. Do not use directly
Basic unit of event handling in Reactor.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Notify this component that anEventis ready to be processed.booleanrespondsToKey(Object key) Deprecated.
-
Method Details
-
respondsToKey
Deprecated.- Parameters:
key- The key to be matched bySelectors- Returns:
- true if there are any matching Subscriptions, false otherwise
-
on
<V extends T> reactor.bus.registry.Subscription<Object,Consumer<? extends T>> on(Selector selector, Consumer<V> consumer) Deprecated.- Parameters:
selector- The Selector to be used for matchingconsumer- The Consumer to be triggered- Returns:
- A
Subscriptionobject that allows the caller to interact with the given mapping
-
notify
Deprecated.Notify this component that anEventis ready to be processed.- Parameters:
key- The key to be matched bySelectorsev- The Event- Returns:
- this
-