Interface to com.orbitz.consul.KeyValueClient.
Interface to com.orbitz.consul.KeyValueClient.
(acquire-lock this key session)
(acquire-lock this key session value)
Acquire a lock on a key.
Acquire a lock on a key.
(delete-key! this key)
Delete a key.
Delete a key.
(get-values this key)
(get-values this key opts)
Fetch all values for a key prefix.
Fetch all values for a key prefix.
(get-session this key)
Get the current locked session for a key.
Get the current locked session for a key.
(release-lock this key session)
Release a lock on a key.
Release a lock on a key.
(get-value this key)
(get-value this key opts)
Fetch a value by key.
Fetch a value by key.
(transact! this operations)
(transact! this operations options)
Perform a transaction.
operations can either be com.orbitz.consul.model.kv.Operation instances, or map specs to be passed to consul.core/operation.
options can either be a com.orbitz.consul.option.TransactionOptions instance, or a map spec to be passed to consul.core/transaction-options
Perform a transaction. operations can either be com.orbitz.consul.model.kv.Operation instances, or map specs to be passed to consul.core/operation. options can either be a com.orbitz.consul.option.TransactionOptions instance, or a map spec to be passed to consul.core/transaction-options
(put-value! this key value)
(put-value! this key value opts)
Put a value to a key.
Put a value to a key.
(get-keys this key)
Get all child keys of a key.
Get all child keys of a key.
(delete-keys! this key)
Delete all keys for a key prefix.
Delete all keys for a key prefix.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close