Liking cljdoc? Tell your friends :D
Clojure only.

consul.proto.kv

Interface to com.orbitz.consul.KeyValueClient.

Interface to com.orbitz.consul.KeyValueClient.
raw docstring

IKeyValuecljprotocol

acquire-lockclj

(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!clj

(delete-key! this key)

Delete a key.

Delete a key.

get-valuesclj

(get-values this key)
(get-values this key opts)

Fetch all values for a key prefix.

Fetch all values for a key prefix.

get-sessionclj

(get-session this key)

Get the current locked session for a key.

Get the current locked session for a key.

release-lockclj

(release-lock this key session)

Release a lock on a key.

Release a lock on a key.

get-valueclj

(get-value this key)
(get-value this key opts)

Fetch a value by key.

Fetch a value by key.

transact!clj

(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!clj

(put-value! this key value)
(put-value! this key value opts)

Put a value to a key.

Put a value to a key.

get-keysclj

(get-keys this key)

Get all child keys of a key.

Get all child keys of a key.

delete-keys!clj

(delete-keys! this key)

Delete all keys for a key prefix.

Delete all keys for a key prefix.
source

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

× close