Concord.Local (Concord v2.3.0)

Copy Markdown View Source

Node-local Concord API.

This module uses the local KV engine explicitly. Data written through this API stays on the current BEAM node and is not submitted to the Raft cluster.

Summary

Functions

delete(key, opts \\ [])

delete_if(key, opts)

delete_many(keys, opts \\ [])

get(key, opts \\ [])

get_all(opts \\ [])

get_all_with_ttl(opts \\ [])

get_many(keys, opts \\ [])

get_with_ttl(key, opts \\ [])

list(opts)

members(opts \\ [])

prefix_scan(prefix, opts \\ [])

put(key, value, opts \\ [])

put_if(key, value, opts)

put_many(operations, opts \\ [])

put_many_with_ttl(operations, ttl_seconds, opts \\ [])

put_with_ttl(key, value, ttl_seconds, opts \\ [])

revision(opts \\ [])

status(opts \\ [])

touch(key, additional_ttl_seconds, opts \\ [])

touch_many(operations, opts \\ [])

ttl(key, opts \\ [])

txn(spec, opts \\ [])