RabbitMQPoolEx.Worker.State (RabbitMQ Pool Ex v1.1.0)
View SourceRepresents the state of the RabbitMQ connection worker.
Fields
:connection
- The active RabbitMQ connection.:channels
- List of channels available in the pool.:monitors
- Map of monitored processes holding channels.:config
- Configuration options provided when starting the worker.:reuse_channels?
- Boolean indicating if channels are reused.
Summary
Types
@type t() :: %RabbitMQPoolEx.Worker.State{ adapter: module(), channels: [AMQP.Channel.t()], channels_count: non_neg_integer(), config: config(), connection: AMQP.Connection.t(), monitors: %{}, pool_id: atom(), pool_size: non_neg_integer(), reuse_channels?: boolean() }