ProtectedcacheIn-memory cache of the file contents, or null if not yet loaded.
Protected ReadonlyfilePath to the binary file on disk.
Protected ReadonlyloggerLogger instance for warnings and diagnostics.
Wipe all values (called on full reindex start).
ProtectedcreateCreate an empty default value when file is missing or unreadable.
Flush cache to disk if dirty.
Uses an atomic write (tmp + rename) to avoid partial files.
Get all current values.
ProtectedloadLoad from disk into cache if not already loaded.
ProtectedmarkMark the store dirty and schedule a debounced flush.
Stop any pending scheduled flush. Does not flush automatically.
Update distinct values for a rule from metadata.
Manages a persistent values.json file tracking distinct metadata values per rule.