A string prefix used for all persisted keys.
The number of hostnames to store in-memory in the negative origin cache.
The number of OriginState objects to cache locally.
ReadonlyenrollmentsA subnamespace for storing enrollment hashes.
ReadonlynonA partitioned LRU set of fully-qualified domain names not enrolled in WEBCAT.
ReadonlyoriginsA partitioned LRU cache of origin states.
Clears all values whose key matches the specified prefix.
The prefix to match against.
The name of the storage area to use.
Reads a persisted value.
The key to read.
The name of the storage area to read from.
A Promise that resolves to the value read.
Reads block metadata from the database.
A Promise that resolves the metadata for the most recently applied block.
Reads an enrollment hash from the database.
The fully-qualified domain name whose enrollment hash to read.
The cache partition to use for cache lookups.
A Promise that resolves to the locally persisted enrollment hash corresponding to fqdn.
Retrieves a list of stored keys matching the specified prefix.
The prefix to match against.
The name of the storage area to read from.
A Promise that resolves to an array of matching keys.
Reads the timestamp of the most recent enrollment update attempt.
A Promise that resolves to a time in milliseconds.
Reads the timestamp of the most recent successful enrollment update.
A Promise that resolves to a time in milliseconds.
Reads fully-qualified domain names of enrolled origins from the database.
A Promise that resolves to an array of the FQDNs whose enrollment is persisted locally.
Creates a new subnamespace within this namespace.
A new namespace prefix to append to the existing prefix.
Clears a single persisted value.
The key to clear.
Optionalarea: "local" | "session"
The name of the storage area to use.
Stores values.
An object consisting of one or more key/value pairs to store.
The name of the storage area to use.
Persists current time as the time of the latest enrollment update attempt.
Persists the current time as the time of the latest successful enrollment update.
Updates the list of enrolled fully-qualified domain names.
A Database backed by a NamespacedKVStore.