View Source ProcessHub.Constant.Event (ProcessHub v0.7.0)
Custom events defined as macros.
Summary
Types
Periodic presence re-announce; processed as a join only when it reveals a node not already in the cluster.
Event used when a node joins the ProcessHub cluster.
Full declared-list push from the hub leader after a mutation; receivers adopt it when its version is higher than their local copy's.
Declared-list version announce sent after a synchronisation round; a receiver holding a lower version pulls the full list from the announcer.
Event used when broadcasting local registry data to nodes that join the cluster.
Event a coordinator dispatches when it restarts within :net_ticktime, so
peers can purge bindings that point at its now-dead pids before re-syncing.
Event used when a node leaves the ProcessHub cluster.
Event used when handling node requests (batched).
Types
@type event_cluster_heartbeat() :: :cluster_heartbeat_event
Periodic presence re-announce; processed as a join only when it reveals a node not already in the cluster.
@type event_cluster_join() :: :cluster_join_event
Event used when a node joins the ProcessHub cluster.
@type event_declared_adopt() :: :declared_adopt_event
Full declared-list push from the hub leader after a mutation; receivers adopt it when its version is higher than their local copy's.
@type event_declared_version() :: :declared_version_event
Declared-list version announce sent after a synchronisation round; a receiver holding a lower version pulls the full list from the announcer.
@type event_node_registry_broadcast() :: :node_registry_broadcast_event
Event used when broadcasting local registry data to nodes that join the cluster.
@type event_node_restarted() :: :node_restarted_event
Event a coordinator dispatches when it restarts within :net_ticktime, so
peers can purge bindings that point at its now-dead pids before re-syncing.
@type event_post_cluster_leave() :: :cluster_leave_event
Event used when a node leaves the ProcessHub cluster.
@type event_requests_handle() :: :requests_handle_event
Event used when handling node requests (batched).