Module amqp_server_pool_sup

Keep track of a pool of AMQP server endpoints.

Behaviours: supervisor.

Description

Keep track of a pool of AMQP server endpoints

This supervisor handles a server pool of static size. It boots a number of RPC Server workers and sets them up for handling work on the pool. It is intended to be used to scale out a static worker pool of processes so you can get the concurrency level up.

Function Index

init/1
start_link/4Start the supervisor with a static WorkerCount The parameters are as in amqp_rpc_server2, except for the last one which is the number of workers we desire.

Function Details

init/1

init(X1) -> any()

start_link/4

start_link(ConnectionRef, Config, Fun, WorkerCount) -> {ok, pid()}

Start the supervisor with a static WorkerCount The parameters are as in amqp_rpc_server2, except for the last one which is the number of workers we desire.


Generated by EDoc