main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
775 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | # Class: PoolStats
|
---|
| 2 |
|
---|
| 3 | Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md).
|
---|
| 4 |
|
---|
| 5 | ## `new PoolStats(pool)`
|
---|
| 6 |
|
---|
| 7 | Arguments:
|
---|
| 8 |
|
---|
| 9 | * **pool** `Pool` - Pool or BalancedPool from which to return stats.
|
---|
| 10 |
|
---|
| 11 | ## Instance Properties
|
---|
| 12 |
|
---|
| 13 | ### `PoolStats.connected`
|
---|
| 14 |
|
---|
| 15 | Number of open socket connections in this pool.
|
---|
| 16 |
|
---|
| 17 | ### `PoolStats.free`
|
---|
| 18 |
|
---|
| 19 | Number of open socket connections in this pool that do not have an active request.
|
---|
| 20 |
|
---|
| 21 | ### `PoolStats.pending`
|
---|
| 22 |
|
---|
| 23 | Number of pending requests across all clients in this pool.
|
---|
| 24 |
|
---|
| 25 | ### `PoolStats.queued`
|
---|
| 26 |
|
---|
| 27 | Number of queued requests across all clients in this pool.
|
---|
| 28 |
|
---|
| 29 | ### `PoolStats.running`
|
---|
| 30 |
|
---|
| 31 | Number of currently active requests across all clients in this pool.
|
---|
| 32 |
|
---|
| 33 | ### `PoolStats.size`
|
---|
| 34 |
|
---|
| 35 | Number of active, pending, or queued requests across all clients in this pool.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.