Module s2_gen_db

A behaviour for simple, efficient, small databases.

Behaviours: gen_server.

This module defines the s2_gen_db behaviour.
Required callback functions: do_init/1, do_insert/2, do_lookup/2, do_delete/2.

References

Description

A behaviour for simple, efficient, small databases.

Function Index

behaviour_info/1
close/1
code_change/3
delete/2
handle_call/3
handle_cast/2
handle_info/2
init/1
insert/2
lookup/2
new/2
open/2
terminate/2

Function Details

behaviour_info/1

behaviour_info(X1) -> any()

close/1

close(Name) -> any()

code_change/3

code_change(X1, S, X3) -> any()

delete/2

delete(Name, A) -> any()

handle_call/3

handle_call(Op, X2, S) -> any()

handle_cast/2

handle_cast(X1, S) -> any()

handle_info/2

handle_info(Msg, S) -> any()

init/1

init(Opts) -> any()

insert/2

insert(Name, A) -> any()

lookup/2

lookup(Name, A) -> any()

new/2

new(Name, Opts) -> any()

open/2

open(Name, Opts) -> any()

terminate/2

terminate(X1, S) -> any()


Generated by EDoc, Mar 14 2025, 16:51:43.