public class DistributedEvent
extends Object
An event that represents a change of a trigger distribution in the current node.
In cluster topologies triggers are distributed across all available nodes.
In this way, a trigger is only executed by one node of the cluster, allowing to scale in horizontal way.
When a trigger is added, modified or removed, the core engine or third party alerters should be notified to perform
load/unload operations of the trigger in their own logic.
Each node will received the events related which triggers should be loaded/unloaded.
DistributedEvent targets only triggers and the granularity is the whole trigger, meaning that a change on
a condition or a dampening is considered an update of an existing trigger.
DistributedEvent are invoked via DistributedListener which are registered
via DefinitionsService.
- Author:
- jay shaughnessy, lucas ponce