Shopify.GraphQL.Limiter.PartitionMonitor (shopify_graphql v1.6.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a Shopify.GraphQL.Limiter.Partition process and links it to the supervision tree.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

name(parent, partition_id)

Specs

Returns the name of a Shopify.GraphQL.Limiter.PartitionMonitor process.

A partition monitor process's name is a combination of the parent limiter's name and a partition id. e.g. Shopify.GraphQL.Limiter.PartitionMonitor:<partition_id>.

Link to this function

start_link(opts)

Specs

start_link(Keyword.t()) :: Supervisor.on_start()

Starts a Shopify.GraphQL.Limiter.Partition process and links it to the supervision tree.