View Source Haystack.Storage.ETS (Haystack v0.1.0)
An ETS implementation of the storage behaviour.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Return the count of items in storage.
Delete an item from storage.
Fetch an item from storage.
Fetch an item from storage.
Insert an item into storage.
Create a new storage.
Serialize the storage.
Update an item in storage.
Update an item in storage.
Upsert an item in storage.
Link to this section Types
@type t() :: %Haystack.Storage.ETS{ data: [{term(), term()}], load: nil | (... -> any()), name: GenServer.name(), table: atom() }
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Return the count of items in storage.
Delete an item from storage.
Fetch an item from storage.
Fetch an item from storage.
Insert an item into storage.
Create a new storage.
Serialize the storage.
Update an item in storage.
Update an item in storage.
Upsert an item in storage.