View Source Poolex.State (poolex v0.7.0)

Internal structure containing the state of the pool.

Can be used for debugging.

Link to this section Summary

Link to this section Types

@type t() :: %Poolex.State{
  busy_workers_state: Poolex.Workers.Behaviour.state(),
  idle_workers_state: Poolex.Workers.Behaviour.state(),
  max_overflow: non_neg_integer(),
  monitor_id: atom() | reference(),
  overflow: non_neg_integer(),
  pool_id: Poolex.pool_id(),
  supervisor: pid(),
  waiting_callers_state: Poolex.Callers.Behaviour.state(),
  worker_args: [any()],
  worker_module: module(),
  worker_start_fun: atom()
}