Behaviours: gen_server.
This module defines the lasp_storage_backend behaviour.
Required callback functions: start_link/1, put/3, get/2, update/3, update_all/2, fold/3, reset/1.
| fold/3 | Fold operation. |
| get/2 | Retrieve a record from the backend. |
| handle_call/3 | |
| put/3 | Write a record to the backend. |
| reset/1 | Reset all application state. |
| start_link/1 | Start and link to calling process. |
| update/3 | In-place update given a mutation function. |
| update_all/2 | Update all objects given a mutation function. |
fold(Ref, Function, Acc) -> any()
Fold operation.
get(Ref, Id) -> any()
Retrieve a record from the backend.
handle_call(Msg, From, State) -> any()
put(Ref, Id, Record) -> any()
Write a record to the backend.
reset(Ref) -> any()
Reset all application state.
start_link(Identifier) -> any()
Start and link to calling process.
update(Ref, Id, Function) -> any()
In-place update given a mutation function.
update_all(Ref, Function) -> any()
Update all objects given a mutation function.
Generated by EDoc