Can provide process migration after a failure, or simply load balancing for a supervisor. Use as an interface, not a behaviour (i.e., it is just a supervisor you can call functions on). cpg_supervisor only provides the one_for_one supervisor strategy to avoid complexity.
Meant to provide better functionality than: https://github.com/jbrisbin/rabbit_common/blob/master/src/mirrored_supervisor.erl (mnesia is avoided and state is minimized).Copyright © 2013-2015 Michael Truog
Version: 1.5.1 Mar 28 2017 18:58:48 ------------------------------------------------------------------------
Behaviours: supervisor.
Authors: Michael Truog (mjtruog [at] gmail (dot) com).
Can provide process migration after a failure, or simply load balancing for a supervisor. Use as an interface, not a behaviour (i.e., it is just a supervisor you can call functions on). cpg_supervisor only provides the one_for_one supervisor strategy to avoid complexity.
Meant to provide better functionality than: https://github.com/jbrisbin/rabbit_common/blob/master/src/mirrored_supervisor.erl (mnesia is avoided and state is minimized)check_childspecs/1 | |
count_children/1 | |
delete_child/2 | |
init/1 | |
restart_child/2 | |
start_child/2 | |
start_link/3 | |
start_link/4 | |
start_nomad_child/4 | |
start_remote_child/2 | |
terminate_child/2 | |
which_children/1 |
check_childspecs(ChildSpecs) -> any()
count_children(Name) -> any()
delete_child(Name, Id) -> any()
init(X1) -> any()
restart_child(Name, Id) -> any()
start_child(Name, ChildSpec) -> any()
start_link(Name, MaxR, MaxT) -> any()
start_link(Name, MaxR, MaxT, ChildSpecs) -> any()
start_nomad_child(Name, MaxR, MaxT, ChildSpec) -> any()
start_remote_child(Name, ChildSpec) -> any()
terminate_child(Name, Id) -> any()
which_children(Name) -> any()
Generated by EDoc, Mar 28 2017, 18:58:48.