antikythera v0.2.0 AntikytheraCore.ClusterHostsPoller View Source

A GenServer that periodically fetches current members of the cluster (all existing hostnames and their lifecycle states) from underlying infrastructure.

In rare occasions fetching hosts information may take longer than 5 seconds; we spawn dedicated process in order to keep this GenServer responsive to calls from other processes.

Link to this section Summary

Link to this section Functions

Link to this function current_hosts() View Source
current_hosts() :: Croma.Result.t(%{optional(String.t()) => boolean()})