View Source Cloister.Node (cloister v0.18.0)

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

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

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()) :: [
  term()
]

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

Link to this function

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

View Source
@spec multicast(nodes :: [node()], name :: GenServer.name(), request :: term()) ::
  :abcast

Casts the request to all the nodes connected to this node