View Source Spawn.Cluster.StateHandoff.Manager (spawn v2.0.0-RC2)

This handles state handoff in a cluster.

This module monitors node up and down events as well as node terminate events and triggers Spawn.Cluster.StateHandoff.ControllerBehaviour implementations to handle these events.

Summary

Functions

Returns a specification to start this module under a supervisor.

Cluster HostActor cleanup

Pickup the stored entity data for a actor

Store a actor and entity in the lookup store

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

child_spec(id, opts \\ [])

clean(node)

Cluster HostActor cleanup

get(actor_id)

Pickup the stored entity data for a actor

set(actor_id, host)

Store a actor and entity in the lookup store

start_link(opts)