Package de.xima.fc.event
Interface EventBus
-
- All Known Implementing Classes:
EventBusImpl
public interface EventBusInterface for an event bus that distributes events across a cluster and to frontend servers.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfireEvent(Serializable event)Fires the specified event, distributing it to the cluster and connected frontend servers.
-
-
-
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 withEventDistribution
-
-