StaticinstanceThe process default: the shared Valkey keyspace from ValkeyClient.instance().
Clear every entry that projects the customer or lists records under it, in every tagged namespace. That includes its cached API-key auth lookups, so its next API request reads the credential again. Returns the namespaces touched (tag invalidation reports no key count).
Clear one namespace's entries (SCAN + DEL by <namespace>::*). Returns
the number of keys removed.
Takes a CacheNamespace, not a string — an unregistered namespace
is a compile error, so there is no "unknown namespace" case to handle here.
Callers holding an untrusted string (the server action behind the operator
form) narrow it with isCacheNamespace at their trust boundary.
Clear every cache namespace EXCEPT auth-token caches. Clearing an auth-token cache forces a partner re-auth, which is never what "flush all caches" should mean — those are skipped and reported back so the omission is visible.
The cache namespace inventory, and whether Valkey answers.
Never throws: a missing or unreachable cache layer is returned as data
(available: false), because "the cache is down" is a state operators
need to SEE on the page, not a crash.
Operator-facing cache control for the System › Cache surface.
Talks to the shared Valkey store directly (by namespace string), not to the owning services — so it never reopens the per-service "writer self-busts its own cache" boundary. Three actions, each seen by the next read in every process:
SCAN+DELover one namespace.