KMS.Cache (kms v0.1.0)

Copy Markdown View Source

Process-local ETS cache for short-lived KMS data.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear(prefixes \\ :all)

exists?(key)

exists?(namespace, ref)

fetch(key)

fetch(namespace, ref)

get(key)

list(prefix)

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

start_link(opts \\ [])

store(struct, opts \\ [])

take(key)

take(namespace, ref)

with_cache(key, fallback, opts \\ [])