View Source ProcessHub.Handler.ClusterUpdate.NodeDown (ProcessHub v0.1.0-alpha)

Handler for the node down event.

Summary

Types

@type t() :: %ProcessHub.Handler.ClusterUpdate.NodeDown{
  cluster_nodes: [node()],
  hub_id: ProcessHub.hub_id(),
  new_hash_ring: :hash_ring.ring(),
  old_hash_ring: :hash_ring.ring(),
  partition_strat: ProcessHub.Strategy.PartitionTolerance.Base.t(),
  redun_strategy: ProcessHub.Strategy.Redundancy.Base.t(),
  removed_node: node()
}

Functions

@spec handle(t()) :: :ok