Liking cljdoc? Tell your friends :D

kala.transactor

The standalone transactor: a TCP server owning the database's single writer. Peers and clients speak the wire protocol (docs/wire-protocol.md); writes serialize through one lock into a single total order, then commit to durable storage. Reads run against the transactor's db value, pinned to a t (as-of), a since view, or history when the request asks.

The standalone transactor: a TCP server owning the database's single
writer. Peers and clients speak the wire protocol (docs/wire-protocol.md);
writes serialize through one lock into a single total order, then commit
to durable storage. Reads run against the transactor's db value, pinned
to a t (as-of), a since view, or history when the request asks.
raw docstring

-mainclj

(-main config-path & _)

parse-configclj

(parse-config s)

The transactor config file: EDN map with :host, :port, :storage, :path.

The transactor config file: EDN map with :host, :port, :storage, :path.
raw docstring

start!clj

(start! {:keys [host port storage path] :or {port 0 storage :memory}})

Start a transactor. Opts: :port (0 picks an ephemeral port), :host, :storage (:memory or :file), :path (for file storage). Returns a map with :port, :stop!, :acceptor, :conn. The transactor owns one connection; concurrent client writes serialize through it.

Start a transactor. Opts: :port (0 picks an ephemeral port), :host,
:storage (:memory or :file), :path (for file storage). Returns a map with
:port, :stop!, :acceptor, :conn. The transactor owns one connection;
concurrent client writes serialize through it.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close