Liking cljdoc? Tell your friends :D

eva.v2.storage.value-store


add-ignored-key!clj

(add-ignored-key! value-store k)

Adds a key to the set of those ignored by the cache.

Adds a key to the set of those ignored by the cache.
sourceraw docstring

create-keyclj

(create-key value-store k v)

Writes the value v to the key k, provided that the key does not already exist.

Writes the value v to the key k, provided that the key does not already exist.
sourceraw docstring

get-ignored-keysclj

(get-ignored-keys value-store)

Returns a collection of keys ignored by the cache (if applicable).

Returns a collection of keys ignored by the cache (if applicable).
sourceraw docstring

get-partitionclj

(get-partition value-store)

Provides the string identifier this value store uses for multi-tenant partitioning.

Provides the string identifier this value store uses for multi-tenant partitioning.
sourceraw docstring

get-valueclj

(get-value value-store k)

Fetches the desired value. Returns a tessera that will contain the value. If an error occurs, the error will be re-thrown on dereference.

Fetches the desired value. Returns a tessera that will contain the value. If an
error occurs, the error will be re-thrown on dereference.
sourceraw docstring

get-valuesclj

(get-values value-store ks)

Fetches the desired values. Returns a tessera that will contain a map k->v. If an error occurs, the error will be re-thrown on dereference.

Fetches the desired values. Returns a tessera that will contain a map k->v. If
an error occurs, the error will be re-thrown on dereference.
sourceraw docstring

put-valueclj

(put-value value-store k v)

Stores the provided value under the specified key. Returns a tessera containing true/false for success/failure. If an error occurs, the error will be re-thrown on dereference.

Stores the provided value under the specified key. Returns a tessera containing
true/false for success/failure. If an error occurs, the error will be re-thrown
on dereference.
sourceraw docstring

put-valuesclj

(put-values value-store kvs)

Stores the provided keys and values. Returns a tessera containing a map k->boolean indicating success/failure for each. If an error occurs, the error will be re-thrown on dereference.

Stores the provided keys and values. Returns a tessera containing a map k->boolean
indicating success/failure for each. If an error occurs, the error will be re-thrown
on dereference.
sourceraw docstring

remove-ignored-key!clj

(remove-ignored-key! value-store k)

Removes a key from the set of those ignored by the cache.

Removes a key from the set of those ignored by the cache.
sourceraw docstring

remove-keyclj

(remove-key value-store k)

Removes entry for the key. Returns a tessera containing true/false for success/failure. Removing a non-existent value always succeeds.

Removes entry for the key. Returns a tessera containing true/false for
success/failure. Removing a non-existent value always succeeds.
sourceraw docstring

remove-keysclj

(remove-keys value-store ks)

Removes multiple entries. Returns a tessera containing a map k->boolean indicating success/failure for each. Removing a non-existent value always succeeds. If an error occurs, the error will be re-thrown on dereference.

Removes multiple entries. Returns a tessera containing a map k->boolean indicating
success/failure for each. Removing a non-existent value always succeeds. If an error
occurs, the error will be re-thrown on dereference.
sourceraw docstring

replace-valueclj

(replace-value value-store k old new)

Atomically replaces an existing entry via compare and swap, given expected previous value and provided new value. Returns a Tessera containing true/false for success/failure. If an error occurs, the error will be re-thrown on dereference.

Atomically replaces an existing entry via compare and swap, given expected previous
value and provided new value. Returns a Tessera containing true/false for
success/failure. If an error occurs, the error will be re-thrown on dereference.
sourceraw docstring

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

× close