Nebulex.Telemetry.CacheEntryHandler (Nebulex v3.0.0-rc.1)
View SourceA Telemetry handler listens to cache command completion events, builds the corresponding cache entry event, and applies the provided filter and listener.
Summary
Functions
Registers a new Telemetry handler for listening and handling cache entry events.
Un-registers a Telemetry handler that listens and handles cache entry events.
Functions
@spec register( id :: any(), cache_name :: atom() | pid(), Nebulex.Event.listener(), Nebulex.Event.filter(), Nebulex.Event.metadata() ) :: :ok | Nebulex.Error.t()
Registers a new Telemetry handler for listening and handling cache entry events.
Un-registers a Telemetry handler that listens and handles cache entry events.