Orchid.Repo.ContentAddressable behaviour (Orchid v0.6.1)

Copy Markdown View Source

Optional behaviour for adapters that can answer cheap existence queries without deserialising the stored value.

Used by cache-hit verification in OrchidStratum's BypassHook.

Summary

Callbacks

exists?(store, key)

@callback exists?(store :: Orchid.Repo.store_ref(), Orchid.Repo.key()) :: boolean()