View Source Cloister.Node (cloister v0.12.5)

The abstraction level allowing milticalls and multicasts across the whole cluster.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Casts the request to all the nodes passed as a parameter.

Casts the request to all the nodes connected to this node

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

multicall(nodes \\ [node() | Node.list()], name, request)

View Source
@spec multicall(nodes :: [node()], name :: GenServer.name(), request :: term()) ::
  {replies :: [{node(), term()}], bad_nodes :: [node()]}

Casts the request to all the nodes passed as a parameter.

Link to this function

multicast(name, request)

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

Casts the request to all the nodes connected to this node