horde v0.1.2 Horde.Supervisor
A distributed supervisor built on top of δ-CRDTs.
Link to this section Summary
Functions
See start_link/2
for options
Works like Supervisor.start_link
. Extra options are documented here:
:distribution_strategy
, defaults toHorde.UniformDistribution
but can also be set toHorde.UniformQuorumDistribution
.Horde.UniformQuorumDistribution
enforces a quorum and will shut down all processes on a node if it is split from the rest of the cluster
Link to this section Functions
Link to this function
child_spec(arg)
See start_link/2
for options.
Link to this function
count_children(supervisor)
Link to this function
delete_child(supervisor, child_id)
Link to this function
restart_child(supervisor, child_id)
Link to this function
start_child(supervisor, child_spec)
Link to this function
start_link(children, options)
Works like Supervisor.start_link
. Extra options are documented here:
:distribution_strategy
, defaults toHorde.UniformDistribution
but can also be set toHorde.UniformQuorumDistribution
.Horde.UniformQuorumDistribution
enforces a quorum and will shut down all processes on a node if it is split from the rest of the cluster.
Link to this function
stop(supervisor, reason, timeout \\ :infinity)
Link to this function
terminate_child(supervisor, child_id)
Link to this function
which_children(supervisor)