{
  "type": "module",
  "source": "doc/api/api-poolstats.md",
  "modules": [
    {
      "textRaw": "Class: PoolStats",
      "name": "class:_poolstats",
      "type": "module",
      "desc": "<p>Aggregate stats for a <a href=\"/docs/docs/api/Pool.html\">Pool</a> or <a href=\"/docs/docs/api/BalancedPool.html\">BalancedPool</a>.</p>",
      "signatures": [
        {
          "textRaw": "`new PoolStats(pool)`",
          "name": "PoolStats",
          "type": "ctor",
          "params": [
            {
              "name": "pool"
            }
          ],
          "desc": "<p>Arguments:</p>\n<ul>\n<li><strong>pool</strong> <code>Pool</code> - Pool or BalancedPool from which to return stats.</li>\n</ul>"
        }
      ],
      "modules": [
        {
          "textRaw": "Instance Properties",
          "name": "instance_properties",
          "type": "module",
          "properties": [
            {
              "textRaw": "`PoolStats.connected`",
              "name": "connected",
              "type": "property",
              "desc": "<p>Number of open socket connections in this pool.</p>"
            },
            {
              "textRaw": "`PoolStats.free`",
              "name": "free",
              "type": "property",
              "desc": "<p>Number of open socket connections in this pool that do not have an active request.</p>"
            },
            {
              "textRaw": "`PoolStats.pending`",
              "name": "pending",
              "type": "property",
              "desc": "<p>Number of pending requests across all clients in this pool.</p>"
            },
            {
              "textRaw": "`PoolStats.queued`",
              "name": "queued",
              "type": "property",
              "desc": "<p>Number of queued requests across all clients in this pool.</p>"
            },
            {
              "textRaw": "`PoolStats.running`",
              "name": "running",
              "type": "property",
              "desc": "<p>Number of currently active requests across all clients in this pool.</p>"
            },
            {
              "textRaw": "`PoolStats.size`",
              "name": "size",
              "type": "property",
              "desc": "<p>Number of active, pending, or queued requests across all clients in this pool.</p>"
            }
          ],
          "displayName": "Instance Properties"
        }
      ],
      "displayName": "Class: PoolStats"
    }
  ]
}