antikythera v0.4.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 call
s from other processes.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
current_hosts() :: Croma.Result.t(%{required(String.t()) => boolean()})