Liking cljdoc? Tell your friends :D

roomkey.znode

A facade for a Zookeeper znode

A facade for a Zookeeper znode
raw docstring

add-descendantclj

(add-descendant parent path value)

Add a descendant ZNode to the given parent's (sub)tree root ZNode at the given (relative) path carrying the given value creating placeholder intermediate nodes as required.

Add a descendant ZNode to the given parent's (sub)tree `root` ZNode at the given (relative) `path` carrying the given `value`
creating placeholder intermediate nodes as required.
raw docstring

BackedZNodecljprotocol

A Proxy for a ZooKeeper znode

A Proxy for a ZooKeeper znode

compare-version-and-set!clj

(compare-version-and-set! this current-version new-value)

Atomically set the value of this znode to new-value if and only if the current version is identical to current-version. Returns true if set happened, else false

Atomically set the value of this znode to `new-value` if and only if the current
version is identical to `current-version`. Returns true if set happened, else false

create!clj

(create! this)

Create the znode backing this virtual node

Create the znode backing this virtual node

delete!clj

(delete! this version)

Delete this znode, asserting the current version

Delete this znode, asserting the current version

watchclj

(watch this)

Recursively watch the znode and its children, returning a WatchManager that can be closed to cease watching, read from to get the results of watching and, as seq'd, to obtain the WatchManagers of its children

Recursively watch the znode and its children, returning a WatchManager that can be closed to cease watching, read from to
get the results of watching and, as seq'd, to obtain the WatchManagers of its children
raw docstring

defaultclj

(default client path)
(default client path value)

new-rootclj

(new-root)
(new-root abs-path)
(new-root abs-path value)
(new-root abs-path value zclient)

Create a root znode

Create a root znode
raw docstring

openclj

(open root & args)

Open a ZooKeeper client connection and watch for client status changes to manage watches on root and its descendants

Open a ZooKeeper client connection and watch for client status changes to manage watches on `root` and its descendants
raw docstring

VirtualNodecljprotocol

A value-bearing node in a tree

A value-bearing node in a tree

overlayclj

(overlay this v)

Overlay the existing placeholder node's value with a concrete value

Overlay the existing placeholder node's value with a concrete value

signatureclj

(signature this)

Return a (Clojure) hash equivalent to a signature of the state of the subtree at this ZNode

Return a (Clojure) hash equivalent to a signature of the state of the subtree at this ZNode

update-or-add-childclj

(update-or-add-child this path value)

Update the existing child or create a new child of this node at the given path & with the given default value

Update the existing child or create a new child of this node at the given path & with the given default value
raw docstring

walkclj

(walk connect-string timeout xform f init)

Walk the tree defined by connect-string and transduce the asynchronously discovered nodes with xform and f.

Walk the tree defined by `connect-string` and transduce the asynchronously discovered nodes with `xform` and `f`.
raw docstring

with-connectioncljmacro

(with-connection znode connect-string timeout & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close