View Source ProcessHub.Service.Storage.Ets (ProcessHub v0.6.0)

ETS-backed registry storage.

This is the default backend. It preserves bit-for-bit the observable behaviour of the previous ProcessHub.Service.Storage module: TTL entries are stored as {key, value, expire_ms}, reads filter expired entries, and match/2 returns a list of tuples.

The opaque ref returned by open/2 is the ETS table name (an atom matching the hub id). Existing call sites that pass hub_id directly to :ets-style helpers continue to function.