View Source AntikytheraCore.ClusterHostsPoller (antikythera v0.5.1)
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.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec current_hosts() :: Croma.Result.t(%{required(String.t()) => boolean()})