Amarula.Application (amarula v0.1.0)
View SourceStarts the library's process tree:
Amarula.ProfileRegistry— the app-levelprofile -> Connection pidregistry that enforces one connection per profile (per node) and gives consumers a restart-safe handle (refer to a connection by its:profile, not a raw pid).Amarula.ConnectionsSupervisor— aDynamicSupervisorthat owns every per-connection tree. Connection trees are started here (not linked to the caller ofconnect/2), so a connection crash is observable by the consumer via events but never propagates an exit signal that kills it.
A clustered consumer that wants one-connection-per-profile cluster-wide can
supply its own registry module via the :registry connection config (e.g.
Horde.Registry); see Amarula.Config. The default local Registry enforces
uniqueness per node only.
Summary
Functions
Name of the DynamicSupervisor that owns all per-connection trees.
Functions
Name of the DynamicSupervisor that owns all per-connection trees.