View Source Cachex.Services.Incubator (Cachex v3.6.0)
Parent module for all warmer definitions for a cache.
The Incubator will control the supervision tree for all warmers that
are associated with a cache. This is very minimal supervision, with
no linking back except via the Supervisor
access functions.
Link to this section Summary
Functions
Starts a new incubation service for a cache.
Link to this section Functions
@spec start_link(Spec.cache()) :: Supervisor.on_start()
Starts a new incubation service for a cache.
This will start a Supervisor to hold all warmer processes as defined in the provided cache record. If no warmers are attached in the cache record, this will skip creation to avoid unnecessary processes running.