Module shards_partition_sup

This supervisor represents a partitioned table, which is composed by a group of ETS tables, each of them owned by shards_partition.

Behaviours: supervisor.

Description

This supervisor represents a partitioned table, which is composed by a group of ETS tables, each of them owned by shards_partition.

This supervisor holds and handles the supervision tree for a partitioned table. Every time a new partioned table is created, a new supervision tree is created to handle its lifecycle, and this module is the main supervisor for that tree.

Data Types

opts()

opts() = #{atom() => term()}

Function Index

start_link/2
stop/1Equivalent to stop(Pid, 5000).
stop/2

Function Details

start_link/2

start_link(Name, Opts) -> OnStart

stop/1

stop(SupRef) -> any()

Equivalent to stop(Pid, 5000).

stop/2

stop(SupRef, Timeout) -> ok


Generated by EDoc