Package com.netflix.genie.web.events
Interface GenieEventBus
- All Known Implementing Classes:
GenieEventBusImpl
public interface GenieEventBus
Genie Event Bus interface.
- Since:
- 3.1.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidpublishAsynchronousEvent(@NonNull org.springframework.context.ApplicationEvent event) Publish an event in a different thread than the calling thread.voidpublishSynchronousEvent(@NonNull org.springframework.context.ApplicationEvent event) Publish an event in the same thread as the calling thread.
-
Method Details
-
publishSynchronousEvent
void publishSynchronousEvent(@NonNull @NonNull org.springframework.context.ApplicationEvent event) Publish an event in the same thread as the calling thread.- Parameters:
event- The event to publish
-
publishAsynchronousEvent
void publishAsynchronousEvent(@NonNull @NonNull org.springframework.context.ApplicationEvent event) Publish an event in a different thread than the calling thread.- Parameters:
event- The event to publish
-