Did you know ...
Search Documentation:
Predicate paxos_replicate_key/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
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).