singleton v1.3.0 Singleton.Manager View Source
Singleton watchdog process
Each node that the singleton runs on, runs this process. It is responsible for starting the singleton process (with the help of Erlang's 'global' module).
When starting the singleton process fails, it instead monitors the process, so that in case it dies, it will try to start it locally.
The singleton process is started using the GenServer.start_link
call, with the given module and args.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Start the manager process, registering it under a unique name.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Start the manager process, registering it under a unique name.