View Source ProcessHub.DistributedSupervisor (ProcessHub v0.2.4-alpha)
The ProcessHub distributed supervisor module is responsible for starting and stopping
the child processes distributed across the cluster.
Each ProcessHub instance has its own distributed supervisor that manages local
child processes.
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns true if the child process is running on local node.
Returns the child process ids that are running on local node.
Returns a list of processe pairs in the form of {child_id, pid}
that are running on local node.
Returns the child process pid if it is running on local node.
Starts a child process on local node.
Stops a child process on local node by first terminating the process and then deleting it from the supervisor child spec list.
Types
@type pname() :: atom()
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Returns true if the child process is running on local node.
Returns the child process ids that are running on local node.
Returns a list of processe pairs in the form of {child_id, pid}
that are running on local node.
Returns the child process pid if it is running on local node.
Starts a child process on local node.
Stops a child process on local node by first terminating the process and then deleting it from the supervisor child spec list.