Interface GenieEventBus

All Known Implementing Classes:
GenieEventBusImpl

public interface GenieEventBus
Genie Event Bus interface.
Since:
3.1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publishAsynchronousEvent(@NonNull org.springframework.context.ApplicationEvent event)
    Publish an event in a different thread than the calling thread.
    void
    publishSynchronousEvent(@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