diff options
Diffstat (limited to 'src/mongo/executor/connection_pool_stats.h')
| -rw-r--r-- | src/mongo/executor/connection_pool_stats.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mongo/executor/connection_pool_stats.h b/src/mongo/executor/connection_pool_stats.h index a96739b42be..3f4183adbf2 100644 --- a/src/mongo/executor/connection_pool_stats.h +++ b/src/mongo/executor/connection_pool_stats.h @@ -41,8 +41,12 @@ namespace executor { * a parent ConnectionPoolStats object and should not need to be created directly. */ struct ConnectionStatsPer { - ConnectionStatsPer( - size_t nInUse, size_t nAvailable, size_t nCreated, size_t nRefreshing, size_t nRefreshed); + ConnectionStatsPer(size_t nInUse, + size_t nAvailable, + size_t nLeased, + size_t nCreated, + size_t nRefreshing, + size_t nRefreshed); ConnectionStatsPer(); @@ -50,6 +54,7 @@ struct ConnectionStatsPer { size_t inUse = 0u; size_t available = 0u; + size_t leased = 0u; size_t created = 0u; size_t refreshing = 0u; size_t refreshed = 0u; @@ -68,6 +73,7 @@ struct ConnectionPoolStats { size_t totalInUse = 0u; size_t totalAvailable = 0u; + size_t totalLeased = 0u; size_t totalCreated = 0u; size_t totalRefreshing = 0u; size_t totalRefreshed = 0u; |
