ExGcloudPubsubPuller v0.5.1 ExGcloudPubsubPuller.MemoryStore View Source
Barebones in-memory store
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Retrieves a value from the MemoryStore, returning nil
if the key doesn't exist.
Saves a value to the MemoryStore, updating it if the key already exists.
Starts the MemoryStore.
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
load(key) View Source
Retrieves a value from the MemoryStore, returning nil
if the key doesn't exist.
Link to this function
save(key, value) View Source
Saves a value to the MemoryStore, updating it if the key already exists.
Link to this function
start_link(initial_value) View Source
Starts the MemoryStore.