Shopify.GraphQL.Limiter.ConsumerSupervisor (shopify_graphql v1.5.1)
Link to this section Summary
Functions
Determines whether the consumer supervisor is in an idle state.
Returns the name of a Shopify.GraphQL.Limiter.ConsumerSupervisor
process.
Starts a Shopify.GraphQL.Limiter.ConsumerSupervisor
supervision tree and
links it to the current process.
Link to this section Functions
Link to this function
idle?(server)
Specs
idle?(Supervisor.supervisor()) :: boolean()
Determines whether the consumer supervisor is in an idle state.
A consumer supervisor is considered idle when it is not supervising any active processes.
Link to this function
name(parent, partition_id)
Specs
name(atom(), Shopify.GraphQL.Limiter.partition_id_t()) :: atom()
Returns the name of a Shopify.GraphQL.Limiter.ConsumerSupervisor
process.
A consumer supervisor process's name is a combination of the parent limiter's
name and a partition id. e.g.
Shopify.GraphQL.Limiter.ConsumerSupervisor:<partition_id>
.
Link to this function
start_link(opts)
Specs
start_link(Keyword.t()) :: Supervisor.on_start()
Starts a Shopify.GraphQL.Limiter.ConsumerSupervisor
supervision tree and
links it to the current process.