• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Class: PoolStats
2
3Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md).
4
5## `new PoolStats(pool)`
6
7Arguments:
8
9* **pool** `Pool` - Pool or BalancedPool from which to return stats.
10
11## Instance Properties
12
13### `PoolStats.connected`
14
15Number of open socket connections in this pool.
16
17### `PoolStats.free`
18
19Number of open socket connections in this pool that do not have an active request.
20
21### `PoolStats.pending`
22
23Number of pending requests across all clients in this pool.
24
25### `PoolStats.queued`
26
27Number of queued requests across all clients in this pool.
28
29### `PoolStats.running`
30
31Number of currently active requests across all clients in this pool.
32
33### `PoolStats.size`
34
35Number of active, pending, or queued requests across all clients in this pool.
36