commanded_horde_registry v0.4.0 Commanded.Registration.HordeRegistry.Linker

A GenServer process that will monitor cluster membership and join the Commanded.Registration.HordeRegistry processes running on each node. Also will attempt to connect hordes periodically. Must be started after the Commanded.Registration.HordeRegistry.

Link to this section Summary

Types

  • sync_interval: an integer in milliseconds that controls how often the cluster membership is checked and corrected if stale.
  • horde_name: Name of the Horde.Supervisor or Horde.Registry that will be linked.

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Link to this type

opts()
opts() :: {:sync_interval, pos_integer()}

  • sync_interval: an integer in milliseconds that controls how often the cluster membership is checked and corrected if stale.
  • horde_name: Name of the Horde.Supervisor or Horde.Registry that will be linked.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(args)