RetrostashStore
interface RetrostashStore
Persistent or in-memory backing store for cached query payloads.
Implementations are responsible for thread-safe concurrent access, expiry, and any capacity eviction. Keys are produced by CoreKeyResolver and have the shape scopeName|<resolvedTemplate>|<binding-hash>. Templates passed to invalidate are matched against the middle segment by substring.
Built-in implementations:
InMemoryRetrostashStore — LinkedHashMap + Mutex, KMP-safe, ephemeral.
AndroidRetrostashStore(inretrostash-okhttp) — Android Context-backed disk store.