Module sidejob_resource_sup

The sidejob_resource_sup manages the entire supervision hierarchy for a sidejob resource.

Behaviours: supervisor.

Description

The sidejob_resource_sup manages the entire supervision hierarchy for a sidejob resource. Thus, there is one resource supervisor for each registered sidejob resource.

The resource supervisor is the owner of a resource's limit and stats ETS tables, therefore ensuring the ETS tables survive crashes elsewhere in the resource hierarchy.

The resource supervisor has two children: a sidejob_worker_sup that supervises the actual worker processes for a given resource, and a sidejob_resource_stats server that aggregates statistics reported by the worker processes.

Function Index

init/1
start_link/2
stats_ets/1

Function Details

init/1

init(X1) -> any()

start_link/2

start_link(Name, Mod) -> any()

stats_ets/1

stats_ets(Name) -> any()


Generated by EDoc