Disk-backed, lease-aware session store built on Erlang DETS.
This adapter is suitable for one BEAM node that needs sessions to survive a
process or node restart. One GenServer owns the DETS table and serializes all
lease transitions. Each accepted write calls :dets.sync/1 before reply.
Use an external transactional store for multi-node ownership.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts a disk-backed session store.
Types
@type option() :: {:path, Path.t()} | {:table, atom()} | {:name, GenServer.name()} | {:auto_save, non_neg_integer() | :infinity}
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link([option()]) :: GenServer.on_start()
Starts a disk-backed session store.