View Source Poolex.Private.State (poolex v1.0.0)

Internal structure containing the state of the pool.

Can be used for debugging.

Summary

Types

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