Cloister.Node (cloister v0.7.5) View Source
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
.
Specs
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.
Specs
multicast(name :: GenServer.name(), request :: term()) :: :abcast
Casts the request to all the nodes connected to this node