View Source ClusterMonitor (ClusterBot v0.1.1)

ClusterMonitor is a GenServer implementation that performs three tasks:

  • collect nodes and keep them in the state and cache (with expiration)
  • reconnect to nodes that are no longer connected
  • refresh cache for connected nodes

All features are mandatory and cannot be disabled. The only option one whould have, is increasing the interval timers to such a hight amount, that an exection is impossible.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.