RaftFleet.LeaderPidCacheRefresher (raft_fleet v0.11.0)

Copy Markdown View Source

A GenServer that periodically fetches all locally-stored leader pid caches and refreshes stale ones.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(atom)

Callback implementation for GenServer.init/1.

start_link(arg0)

@spec start_link([]) :: {:ok, pid()}