Copyright © 2012-2016 Zuse Institute Berlin,
Version: $Id$
Authors: Florian Schintke (schintke@zib.de).
entry() = {any(), pr:pr(), pr:pr(), any()}
message() =
{prbr,
read,
DB :: dht_node_state:db_selector(),
WasConsistentLookup :: boolean(),
Proposer :: comm:mypid(),
rt_chord:key(),
DataType :: module(),
InRound :: pr:pr(),
read_filter()} |
{prbr,
write,
DB :: dht_node_state:db_selector(),
WasConsistentLookup :: boolean(),
Proposer :: comm:mypid(),
rt_chord:key(),
DataType :: module(),
InRound :: pr:pr(),
Value :: term(),
PassedToUpdate :: term(),
write_filter()} |
{prbr,
delete_key,
DB :: dht_node_state:db_selector(),
Client :: comm:mypid(),
Key :: rt_chord:key()} |
{prbr,
tab2list_raw,
DB :: dht_node_state:db_selector(),
Client :: comm:mypid()}
read_filter() = fun((term()) -> term())
state() = db_prbr:db()
write_filter() =
fun((term(), term(), term()) -> {term(), term()})
| check_config/0 | Checks whether config parameters exist and are valid. |
| close/1 | Closes the given DB (it may be recoverable using open/1 depending on the DB back-end). |
| close_and_delete/1 | Closes the given DB and deletes all contents (this DB can thus not be re-opened using open/1). |
| delete_entry/2 | |
| entry_key/1 | |
| entry_set_val/2 | |
| entry_val/1 | |
| get_entry/2 | |
| get_load/1 | |
| init/1 | |
| new/2 | |
| noop_read_filter/1 | |
| noop_write_filter/3 | |
| on/2 | |
| set_entry/2 | |
| tab2list/1 | |
| tab2list_raw_unittest/1 | |
| tester_create_write_filter/1 |
noop_read_filter(X :: term()) -> term()
noop_write_filter(Old :: term(), WF :: term(), Val :: term()) ->
{term(), none}
init(DBName :: atom() | tuple()) -> state()
close(State :: state()) -> true
Closes the given DB (it may be recoverable using open/1 depending on the DB back-end).
close_and_delete(State :: state()) -> true
Closes the given DB and deletes all contents (this DB can thus not be re-opened using open/1).
delete_entry(TableName :: state(), Entry :: entry()) -> db_prbr:db()
get_load(State :: state()) -> non_neg_integer()
tab2list(State :: state()) -> [{any(), any()}]
new(Key :: any(), Val :: any()) -> entry()
entry_key(Entry :: entry()) -> any()
entry_val(Entry :: entry()) -> any()
check_config() -> true
Checks whether config parameters exist and are valid.
tester_create_write_filter(X1 :: 0) -> write_filter()
Generated by EDoc, Feb 29 2016, 16:12:13.