ZenMonitor v1.0.0 ZenMonitor.Proxy.Supervisor View Source

Supervisor for the ZenMonitor.Proxy components.

See ZenMonitor.Proxy, ZenMonitor.Proxy.Tables, and ZenMonitor.Proxy.Batcher for more information about the supervised processes.

There are many ZenMonitor.Proxy.Batcher processes, which are managed by a GenRegistry. These are keyed by the pid of the ZenMonitor.Local.Connector the Batcher is responsible for.

This supervisor uses the :rest_for_one strategy, so the order of the children is important and should not be altered.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback invoked to start the supervisor and during hot code upgrades

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback invoked to start the supervisor and during hot code upgrades.

Developers typically invoke Supervisor.init/2 at the end of their init callback to return the proper supervision flags.

Callback implementation for Supervisor.init/1.