View Source partisan_scamp_v1_membership_strategy (partisan v5.0.0-beta.15)

Link to this section Summary

Functions

Handling incoming protocol message.
Initialize the strategy state. Start with an empty state with only ourselves known.
When a remote node is connected, notify that node to add us. Then, perform forwarding, if necessary.
Leave a node from the cluster.
Periodic protocol maintenance.

Link to this section Functions

Link to this function

handle_message(_, State)

View Source
Handling incoming protocol message.
Initialize the strategy state. Start with an empty state with only ourselves known.
Link to this function

join(Node, Scamp_v1, State0)

View Source
When a remote node is connected, notify that node to add us. Then, perform forwarding, if necessary.
Leave a node from the cluster.
Periodic protocol maintenance.