The prefix parameter is accepted for interface parity but unused.
Optional_prefix: stringRemove all entries scoped to this backend's prefix.
The prefix is provided at construction time (not per-call), so each backend can scope the clear appropriately:
SCAN MATCH ${prefix}* + batch DELEstablish the backend connection (if applicable).
Delete a value. The key is already-prefixed by CacheService.
true if removed
Gracefully disconnect.
Read a value. The key is already-prefixed by CacheService.
Expected value type
The deserialized value, or null when absent/expired
Check existence. The key is already-prefixed by CacheService.
true if present and unexpired
Reports whether the backend is ready for operations.
Write a value. The key is already-prefixed by CacheService.
Value type
Optional_ttlSeconds: number
No-op implementation of CacheStore. Every method resolves without side effects: reads return
null/false, writes resolve void, and lifecycle methods are no-ops.Since
0.1.0