Interface EventBus

  • All Known Implementing Classes:
    EventBusImpl

    public interface EventBus
    Interface for an event bus that distributes events across a cluster and to frontend servers.
    Since:
    8.5.0
    Author:
    Norman Lorenz
    • Method Detail

      • fireEvent

        void fireEvent​(Serializable event)
        Fires the specified event, distributing it to the cluster and connected frontend servers.

        The type of the event must be annotated with EventDistribution, which configures whether the event is distributed to the other cluster nodes and to the connected frontend servers.

        Parameters:
        event - the event to fire
        Throws:
        IllegalArgumentException - if the type of the event is not annotated with EventDistribution