cloister v0.1.3 Cloister.Node View Source

The state of the cloister. This process runs under supervision and makes sure the cluster is up-to-date with the expectations.

Link to this section Summary

Types

t()

Internal representation of the Node managed by Cloister

Functions

Returns a specification to start this module under a supervisor.

Casts the request to all the nodes connected to this node

Returns whether the requested amount of nodes in the cluster are connected

Returns an internal state of the Node

Link to this section Types

Link to this type

t()

View Source
t() :: %Cloister.Node{
  alive?: term(),
  clustered?: term(),
  otp_app: term(),
  sentry?: term()
}

Internal representation of the Node managed by Cloister

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

multicast(name, request)

View Source
multicast(name :: GenServer.name(), request :: term()) :: :abcast

Casts the request to all the nodes connected to this node

Returns whether the requested amount of nodes in the cluster are connected

Returns an internal state of the Node