1 library(paxos): A Replicated Data Store
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
Paxos -- a SWI-Prolog replicating key-value store
library(paxos): A Replicated Data Store
paxos_initialize/1
paxos_property/1
paxos_set/1
paxos_set/2
paxos_set/3
paxos_quorum_ask/4
paxos_get/1
paxos_get/2
paxos_get/3
paxos_replicate_key/3
paxos_on_change/2
paxos_on_change/3
paxos_ledger_hook/5
Availability:
:- use_module(
library(paxos)
).
(can be autoloaded)
[det]
paxos_replicate_key
(
+Nodes:bitmap, ?Key, +Options
)
Replicate a
Key
to
Nodes
. If
Key
is unbound, a random key is selected.
timeout
(
+Seconds
)
Max time to wait for the forum to reply. Defaults to the
setting
response_timeout
(0.020, 20ms).