Liking cljdoc? Tell your friends :D

roomkey.drcfg

Dynamic Distributed Run-Time configuration

Dynamic Distributed Run-Time configuration
raw docstring

*root*clj


>-clj

(>- name default & options)

Create a config reference with the given name (must be fully specified, including leading slash) and default value and record it for future connecting

Create a config reference with the given name (must be fully specified,
including leading slash) and default value and record it for future connecting
raw docstring

db-initialize!clj

(db-initialize! connect-string)
(db-initialize! connect-string scope)
(db-initialize! connect-string scope timeout)

Synchronously initialize a fresh drcfg database in scope at the ZooKeeper cluster identified by connect-string

Synchronously initialize a fresh drcfg database in `scope` at the ZooKeeper cluster identified by `connect-string`
raw docstring

def>cljmacro

(def> symbol doc-string? attr-map? default options?)

Def a config reference with the given name and default value. The current namespace will be automatically prepended to create the zookeeper path -when refactoring, note that the namespace may change, leaving the old values stored in zookeeper orphaned and reverting to the default value. Documentation and var metadata can be provided in the usual way and are stored in a related ZooKeeper node. Options (currently just :validator) are provided after the default value.

Def a config reference with the given name and default value.  The current namespace will be automatically prepended
to create the zookeeper path -when refactoring, note that the namespace may change, leaving the old values stored in
zookeeper orphaned and reverting to the default value.  Documentation and var metadata can be provided in the usual way
and are stored in a related ZooKeeper node.  Options (currently just `:validator`) are provided after the default value.
raw docstring

def>-cljmacrodeprecated

(def>- name default & options)

Def a config reference with the given name. The current namespace will be automatically prepended to create the zookeeper path -when refactoring, note that the namespace may change, leaving the old values stored in zookeeper orphaned and reverting to the default value.

Def a config reference with the given name.  The current namespace will be
automatically prepended to create the zookeeper path -when refactoring, note
that the namespace may change, leaving the old values stored in zookeeper
orphaned and reverting to the default value.
raw docstring

name-with-attributes-and-optionsclj

(name-with-attributes-and-options name args)

To be used in macro definitions. Handles an optional docstring, an optional attribute map and optional trailing keyword/value option pairs for a name and its defined value. If trailing pairs start with a keyword, they are added to the option map and removed from the argument list. The last of the remaining arguments becomes the value and it is removed from the arguments list. If the first of the remaining arguments is a string, it is added as a docstring to name and removed from the argument list. If the first of the then remaining arguments is a map, its entries are added to the name's metadata map and the map is removed from the argument list. The return value is a vector containing the name with its extended metadata map, the value for name, and the options map.

To be used in macro definitions.
Handles an optional docstring, an optional attribute map and optional trailing keyword/value option pairs
for a name and its defined value. If trailing pairs start with a keyword, they are added to the
option map and removed from the argument list.  The last of the remaining arguments becomes the value and
it is removed from the arguments list.   If the first of the remaining arguments is a string,
it is added as a docstring to name and removed from the argument
list. If the first of the then remaining arguments is a map, its entries are
added to the name's metadata map and the map is removed from the
argument list. The return value is a vector containing the name
with its extended metadata map, the value for name, and the options map.
raw docstring

ns-pathcljmacro

(ns-path n)

openclj

(open hosts)
(open hosts root)
(open hosts root scope)
(open hosts root scope timeout)

Open a connection with root in scope to the ZooKeeper cluster defined by hosts

Open a connection with `root` in `scope` to the ZooKeeper cluster defined by `hosts`
raw docstring

zk-prefixclj

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

× close