Wraith.Store.Memory (Wraith v0.1.0)

View Source

Wraith.Store in ETS: two ordered sets — the table ({pk, sk}) and the index ({gsi1pk, gsi1sk, pk, sk}). Reads go straight to ETS; writes go through one GenServer so conditions and transactions are atomic. Nothing persists past the VM. reset/0 empties it (tests).

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

reset()

start_link(opts \\ [])