Beethoven.Core.MnesiaNotify (Beethoven v0.2.3)
Library to reduce code length of Core server.
Only handles hand_info
messages about Mnesia changes.
Summary
Functions
Logic when a new node is added to the 'Beethoven.Tracker' table / Cluster
Node changed from online to offline in 'Beethoven.Tracker' table
Node changed from offline to online in 'Beethoven.Tracker' table
Entry function to decide what is done when the Mnesia Event occurs.
Functions
@spec new_node(atom()) :: :ok
Logic when a new node is added to the 'Beethoven.Tracker' table / Cluster
@spec offline_node(atom()) :: :ok
Node changed from online to offline in 'Beethoven.Tracker' table
@spec online_node(atom()) :: :ok
Node changed from offline to online in 'Beethoven.Tracker' table
@spec run(any()) :: :ok
Entry function to decide what is done when the Mnesia Event occurs.