Interface EventBus
- All Known Implementing Classes:
DefaultDcpEventBus
public interface EventBus
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<CouchbaseEvent>get()Subscribe to the event bus to retrieveCouchbaseEvents.voidpublish(CouchbaseEvent event) Publish aCouchbaseEventinto the bus.
-
Method Details
-
get
reactor.core.publisher.Flux<CouchbaseEvent> get()Subscribe to the event bus to retrieveCouchbaseEvents.- Returns:
- the observable where the events are emitted into.
-
publish
Publish aCouchbaseEventinto the bus.- Parameters:
event- the event to publish.
-