Module shards_sup

This module is the main supervisor of shards, and handles pools or groups of partitioned tables, and each of them is handled by shards_owner_sup.

Description

This module is the main supervisor of shards, and handles pools or groups of partitioned tables, and each of them is handled by shards_owner_sup.

Function Index

start_child/3
start_link/0Equivalent to start_link(shards_sup).
start_link/1
terminate_child/2

Function Details

start_child/3

start_child(SupName::atom(), TabName::atom(), Options::[shards_local:option()]) -> supervisor:startchild_ret()

start_link/0

start_link() -> any()

Equivalent to start_link(shards_sup).

start_link/1

start_link(Name::atom()) -> {ok, pid()} | ignore | {error, term()}

terminate_child/2

terminate_child(SupName::atom(), Tab::pid() | atom()) -> ok | {error, Error::not_found | simple_one_for_one}


Generated by EDoc