raft_fleet v0.1.5 RaftFleet.LeaderPidCache

Summary

Functions

get(name)

Specs

get(atom) :: nil | pid
init()

Specs

init :: :ok
set(name, leader)

Specs

set(atom, nil | pid) :: :ok
unset(name)

Specs

unset(atom) :: :ok