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

ETS-backed registry storage.

This is the default backend. TTL entries are stored as {key, value, expire_ms}, and every read returns an expired entry until the janitor purges it (see ProcessHub.Service.Storage.Behaviour.get/2); 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.